/* Modern CSS Variables */
:root {
    /* Colors - Modern neutral palette with accent */
    --primary: #2563eb;
    --primary-rgb: 37, 99, 235;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #64748b;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Neutral grays */
    --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;

    /* Surface colors */
    --white: #ffffff;
    --surface: #ffffff;
    --surface-secondary: #334155;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Border radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* 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);

    /* Transitions */
    --transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and base styles */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans), sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-4);
    background: var(--primary);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    z-index: 1000;
    transition: var(--transition);
}

.skip-link:focus {
    top: var(--space-4);
}

/* Modern Navigation */
.navbar {
    background: var(--white) !important;
    border-bottom: 1px solid var(--border);
    padding: 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--primary) !important;
    text-decoration: none;
    padding: var(--space-4) 0;
}

.navbar-brand:hover {
    color: var(--primary-hover) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: var(--space-4) var(--space-5) !important;
    border-radius: var(--radius);
    margin: 0 var(--space-1);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background-color: var(--primary-light);
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background-color: var(--primary-light);
}

/* Authenticated navbar (darker) */
.navbar.bg-primary {
    background: var(--gray-900) !important;
    border-bottom: none;
}

.navbar.bg-primary .navbar-brand {
    color: var(--white) !important;
}

.navbar.bg-primary .navbar-nav .nav-link {
    color: var(--gray-300) !important;
}

.navbar.bg-primary .navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown improvements */
.dropdown-menu {
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    margin-top: var(--space-2);
}

.dropdown-item {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius);
    color: var(--gray-700) !important;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--gray-100);
    color: var(--gray-900);
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
    padding-top: var(--space-6);
    padding-bottom: var(--space-16);
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Modern Cards */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: var(--surface-secondary) !important;
    border-bottom: 1px solid var(--border);
    padding: var(--space-6);
    font-weight: 600;
    color: var(--gray-100) !important;
}

.card-body {
    padding: var(--space-6);
}

.card-title {
    font-weight: 600;
    color: var(--gray-900) !important;
    margin-bottom: var(--space-2);
}

/* Text color fixes moved to utility classes */

/* Ensure button text is always white on primary buttons */
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    color: var(--white) !important;
}

/* Fix navbar text colors for authenticated layout */
.navbar.bg-primary .navbar-brand,
.navbar.bg-primary .navbar-brand:hover,
.navbar.bg-primary .navbar-brand:focus {
    color: var(--white) !important;
}

.navbar.bg-primary .navbar-nav .nav-link:hover,
.navbar.bg-primary .navbar-nav .nav-link:focus {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--gray-100) !important;
    color: var(--gray-900) !important;
}

/* Fix alert text colors */
.alert-success {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border-left: 4px solid var(--success);
}

.alert-info {
    background: #f0f9ff !important;
    color: #0c4a6e !important;
    border-left: 4px solid var(--accent);
}

.alert-danger {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 4px solid var(--danger);
}

/* Override Bootstrap's muted text */
.text-muted {
    color: var(--gray-500) !important;
}

/* Fix form label colors */
.form-label {
    font-weight: 500;
    color: var(--gray-700) !important;
    margin-bottom: var(--space-2);
}


/* Quick action cards */
.quick-action-card {
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.quick-action-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modern Buttons */
.btn {
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: var(--font-size-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: var(--transition);
    line-height: 1.4;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-secondary {
    background: var(--gray-500);
    color: var(--white);
}

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

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

.btn-outline-secondary {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-600);
}

.btn-outline-secondary:hover {
    background: var(--gray-600);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

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

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-xs);
}

/* Forms */
.form-control, .form-select {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-6);
    font-weight: 500;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    padding: var(--space-16) 0;
    text-align: center;
    margin-bottom: var(--space-12);
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    margin-bottom: var(--space-8);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-12) 0 var(--space-6);
    margin-top: var(--space-16);
}

.footer h5, .footer h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Grid improvements */
.row {
    margin-left: calc(-1 * var(--space-3));
    margin-right: calc(-1 * var(--space-3));
}

.row > * {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
}

/* Mobile Navigation Fixes */
.navbar-toggler {
    border: 2px solid var(--gray-700);
    border-radius: var(--radius);
    padding: 0.375rem 0.5rem;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 65, 85, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.2em;
    height: 1.2em;
}

/* Dark navbar toggler for authenticated layout */
.navbar.bg-primary .navbar-toggler {
    border-color: var(--gray-300);
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar.bg-primary .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container-fluid {
        padding: 0 var(--space-4);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .card-body {
        padding: var(--space-4);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile button spacing for login/signup */
    .navbar-nav .nav-item .nav-link.btn {
        width: 100%;
        margin: 0 0 var(--space-3) 0;
        text-align: center;
        display: block;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

/* Digital Services Specific Styles */
.service-type-badge {
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.service-type-badge i {
    margin-right: var(--space-1);
}

/* Digital service card variations */
.service-card.digital-service {
    border-left: 4px solid var(--primary);
}

.service-card.physical-service {
    border-left: 4px solid var(--gray-700);
}

.service-card.hybrid-service {
    border-left: 4px solid var(--accent);
}

/* Remote availability indicator */
.remote-available {
    background: linear-gradient(135deg, var(--success) 0%, var(--accent) 100%);
    color: var(--white);
}

/* Delivery timeframe styling */
.delivery-timeframe {
    background: var(--gray-100);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
}

/* Category grouping for digital vs physical services */
.category-group {
    margin-bottom: var(--space-8);
}

.category-group-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border);
}

.category-group-title.digital {
    border-bottom-color: var(--primary);
}

.category-group-title.physical {
    border-bottom-color: var(--gray-700);
}

/* Featured category badge */
.featured-badge {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    animation: pulse-glow 2s infinite;
}

.featured-badge i {
    font-size: 0.7rem;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3); }
    50% { box-shadow: 0 4px 16px rgba(251, 191, 36, 0.5); }
    100% { box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3); }
}

/* Service type filter styles */
.service-type-filter .btn {
    border-radius: var(--radius-xl);
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition);
}

.service-type-filter .btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Enhanced service offering cards for digital services */
.service-offering-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.service-badges .badge {
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top:active {
    transform: translateY(0);
    box-shadow: var(--shadow-lg);
}

.back-to-top i {
    transition: var(--transition);
}

.back-to-top:hover i {
    transform: translateY(-1px);
}

/* Mobile adjustments for back to top */
@media (max-width: 768px) {
    .back-to-top {
        bottom: var(--space-4);
        right: var(--space-4);
        width: 45px;
        height: 45px;
        font-size: var(--font-size-base);
    }
}

/* Responsive adjustments for digital service features */
@media (max-width: 768px) {
    .service-offering-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
    
    .service-badges {
        width: 100%;
    }
    
    .service-type-filter {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: var(--space-2);
    }
    
    .service-type-filter .btn {
        margin-right: var(--space-2);
    }
}

/* PWA Installation Button Styles */
.pwa-install-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    position: relative;
    overflow: hidden;
}

.pwa-install-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.pwa-install-content {
    position: relative;
    z-index: 1;
}

.pwa-install-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.pwa-install-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.pwa-install-description {
    color: var(--gray-600);
    margin-bottom: var(--space-5);
    line-height: 1.6;
}

.btn-install-pwa {
    background: var(--primary);
    border: none;
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition);
    animation: pwa-pulse 3s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-install-pwa:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: var(--white);
    animation: none;
}

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

.btn-install-pwa i {
    margin-right: var(--space-2);
}

/* PWA Install Button Animation */
@keyframes pwa-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5), 0 0 0 4px rgba(37, 99, 235, 0.1);
    }
}

/* Mobile responsive PWA section */
@media (max-width: 768px) {
    .pwa-install-section {
        padding: var(--space-4);
        margin-bottom: var(--space-4);
    }

    .pwa-install-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .pwa-install-title {
        font-size: var(--font-size-lg);
    }

    .btn-install-pwa {
        width: 100%;
        padding: var(--space-4) var(--space-6);
    }
}

/* File Upload Styles */
.upload-dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-16) var(--space-8);
    text-align: center;
    background: var(--gray-50);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.upload-dropzone:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-dropzone.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.upload-dropzone-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: var(--space-4);
    display: block;
}

.upload-dropzone:hover .upload-icon {
    color: var(--primary);
}

.image-preview-card {
    transition: var(--transition);
    border: 1px solid var(--border);
}

.image-preview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.image-preview-card .card-body {
    padding: var(--space-2);
}

.image-preview-card img {
    border-radius: var(--radius);
    object-fit: cover;
    width: 100%;
    height: 150px;
}

.image-preview-card .btn {
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.upload-progress-container {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.upload-progress-container .progress {
    height: 8px;
    border-radius: var(--radius-sm);
    background: var(--gray-200);
}

.upload-progress-container .progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
}

/* File upload responsive */
@media (max-width: 768px) {
    .upload-dropzone {
        padding: var(--space-8) var(--space-4);
    }

    .upload-icon {
        font-size: 2rem;
    }

    .image-preview-card img {
        height: 120px;
    }

    .image-preview-card .btn {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }
}

/* Loading state for upload */
.uploading .upload-dropzone {
    pointer-events: none;
    opacity: 0.6;
}

.uploading .upload-dropzone::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Main Image Highlighting */
.main-image-card {
    border: 2px solid var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.main-image-badge {
    position: absolute;
    top: var(--space-1);
    left: var(--space-1);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    z-index: 10;
    user-select: none;
}

.service-image-controls .btn {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: var(--font-size-xs);
}

.service-image-controls .btn-primary:hover {
    transform: scale(1.1);
}

/* Service card main image indicator */
.service-card .main-image-indicator {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    background: rgba(37, 99, 235, 0.9);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    font-weight: 500;
}
