:root {
    /* Brand Colors - Enhanced */
    --primary: #6366f1;
    --primary-light: #a5b4fc;
    --primary-dark: #4f46e5;
    --secondary: #14b8a6;
    --accent: #ec4899;

    /* Neutral Colors - Refined */
    --background: #fafbfc;
    --surface: #ffffff;
    --surface-alt: #f3f4f6;
    --surface-hover: #f9fafb;
    --border: #e5e7eb;
    --border-light: #f3f4f6;

    /* Text Colors - Better contrast */
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;

    /* Status Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-main: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Shadows - Enhanced depth */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.12), 0 2px 4px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 10px 20px -3px rgb(0 0 0 / 0.15), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 35px -5px rgb(0 0 0 / 0.2), 0 8px 12px -6px rgb(0 0 0 / 0.12);
    --shadow-glow: 0 0 20px rgb(99 102 241 / 0.3);

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-full: 9999px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.pb-16 {
    padding-bottom: 4rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

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

.text-muted {
    color: var(--text-muted);
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.col-span-2 {
    grid-column: span 2;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* Display */
.hidden {
    display: none;
}

/* Spacing */
.p-0 {
    padding: 0;
}

.p-3 {
    padding: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Borders */
.border-0 {
    border: none;
}

.border-b {
    border-bottom: 1px solid var(--border);
}

.border-border {
    border-color: var(--border);
}

.rounded-none {
    border-radius: 0;
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
}

.text-capitalize {
    text-transform: capitalize;
}

/* Layout */
.flex-row {
    flex-direction: row;
}

.flex-1 {
    flex: 1;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-y-auto {
    overflow-y: auto;
}

.max-h-60 {
    max-height: 15rem;
}

/* Interactivity */
.cursor-pointer {
    cursor: pointer;
}

/* Shadows */
.shadow-md {
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 0.95rem;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    filter: brightness(105%);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--surface-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Header - Glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    height: 70px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Hero Section - Enhanced */
.hero {
    padding: 160px 0 100px;
    background:
        radial-gradient(circle at top right, rgba(165, 180, 252, 0.3) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(251, 207, 232, 0.25) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(236, 72, 153, 0.1) 0%, transparent 60%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.8) 100%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    text-align: center;
    padding: 1rem;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
}

/* Map Containers */
.map-container,
#map,
#city-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

#map {
    min-height: 500px;
}

#city-map {
    min-height: 450px;
}

/* Cards - Enhanced */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.card-hover:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-header {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Search Box */
.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.search-box {
    position: relative;
    background: var(--surface);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: inherit;
    color: var(--text-main);
    background: transparent;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Badges & Tags */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-primary {
    background: #e0e7ff;
    color: var(--primary);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.tag:hover,
.tag.active {
    border-color: var(--primary);
    color: var(--primary);
    background: #e0e7ff;
}

/* Map & Location */
.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.street-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.street-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
    border-radius: var(--radius-sm);
}

.street-item:hover {
    background: var(--surface-alt);
}

.street-item:last-child {
    border-bottom: none;
}

/* Alphabet Nav */
.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.alpha-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.alpha-link:hover:not(.disabled),
.alpha-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.alpha-link.disabled {
    opacity: 0.4;
    cursor: default;
    background: var(--surface-alt);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-text {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    color: white;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .header-content {
        height: 60px;
    }

    .nav {
        display: none;
    }

    /* Simplified for mobile */

    .search-box {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-input {
        padding-left: 1rem;
    }

    .search-icon {
        display: none;
    }

    .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* Print styles */
@media print {

    .header,
    .footer,
    .map-container,
    .map-toggle,
    .btn {
        display: none;
    }

    .section {
        padding: 1rem 0;
    }

    .page-header {
        padding-top: 0;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Page Header with Top Padding */
.page-header {
    padding-top: 120px;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.page-subtitle {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-subtitle {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Map Styles */
.map-container {
    height: 500px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: none;
    margin: 2rem 0;
}

.map-container.active {
    display: block;
}

.map-toggle {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 1rem 0;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.map-toggle:hover {
    background: var(--primary-dark);
}

/* Alphabet Navigation */
.alphabet-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    justify-content: center;
}

.alphabet-nav a {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: all 0.2s;
}

.alphabet-nav a:hover {
    background: #f8fafc;
    border-color: var(--primary);
}

.alphabet-nav a.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.alphabet-nav a.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

/* Street List */
.street-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.5rem;
    margin: 2rem 0;
}

.street-item {
    background: white;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.street-item:hover {
    background: #f8fafc;
    border-color: var(--primary);
}

.street-item input {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.street-item label {
    cursor: pointer;
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.service-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Service Groups */
.service-groups {
    margin: 2rem 0;
}

.service-group {
    margin-bottom: 3rem;
}

.service-group h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.service-item:last-child {
    border-bottom: none;
}

.service-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.service-name:hover {
    text-decoration: underline;
    color: var(--primary);
}

.service-address {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.service-contact {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-contact a {
    color: var(--primary);
    text-decoration: none;
}

.service-contact a:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
    align-items: center;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination a:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active,
.pagination .current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Search Page */
.search-page {
    padding-top: 120px;
}

.search-box-large {
    max-width: 700px;
    margin: 2rem auto;
}

.search-box-large input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-family: inherit;
    transition: border-color 0.2s;
}

.search-box-large input:focus {
    outline: none;
    border-color: var(--primary);
}

.results-list {
    max-width: 800px;
    margin: 2rem auto;
}

.result-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.result-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.result-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.result-item .city {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive additions for new components */
@media (max-width: 768px) {
    .page-header {
        padding-top: 100px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .alphabet-nav {
        gap: 0.25rem;
    }

    .alphabet-nav a {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }

    .street-list {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-card i {
        font-size: 1.5rem;
    }

    .map-container {
        height: 400px;
        margin: 1rem 0;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination a,
    .pagination span {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Additional responsive fixes */
@media (max-width: 640px) {
    .header-content {
        flex-wrap: wrap;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}

/* Page Content with Header Offset */
.page-content {
    padding-top: 120px;
}

/* Typography Utilities */
.page-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.page-subtitle {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-heading {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Map Styles */
.map-container {
    height: 500px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    display: none;
}

.map-container.active {
    display: block;
}

.map-toggle {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 1rem 0;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.map-toggle:hover {
    background: var(--primary-dark);
}

.map-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Alphabet Navigation */
.alphabet-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    justify-content: center;
}

.alphabet-nav a {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: all 0.2s;
}

.alphabet-nav a:hover {
    background: #f8fafc;
    border-color: var(--primary);
}

.alphabet-nav a.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.alphabet-nav a.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

.alphabet-nav a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Street List */
.street-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.5rem;
    margin: 2rem 0;
}

.street-item {
    background: white;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.street-item:hover {
    background: #f8fafc;
    border-color: var(--primary);
}

.street-item input {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.street-item label {
    cursor: pointer;
    flex: 1;
    font-size: 0.9rem;
    user-select: none;
}

.street-item:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.service-card:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.service-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Service Groups */
.service-groups {
    margin: 2rem 0;
}

.service-group {
    margin-bottom: 3rem;
}

.service-group h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.service-item:last-child {
    border-bottom: none;
}

.service-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.service-name:hover {
    text-decoration: underline;
    color: var(--primary);
}

.service-name:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.service-address {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.service-contact {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-contact a {
    color: var(--primary);
    text-decoration: none;
}

.service-contact a:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.pagination a:hover {
    background: #f8fafc;
    border-color: var(--primary);
}

.pagination .active,
.pagination .current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Search Page Styles */
.search-page {
    padding-top: 120px;
}

.search-box-large {
    max-width: 700px;
    margin: 2rem auto;
}

.search-box-large input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-family: inherit;
    transition: border-color 0.2s;
}

.search-box-large input:focus {
    outline: none;
    border-color: var(--primary);
}

.results-list {
    max-width: 800px;
    margin: 2rem auto;
}

.result-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.result-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.result-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.result-item .city {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Country Cards with Enhanced Emoji Flags - Instant Loading */
.country-flag-emoji {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.country-card:hover .country-flag-emoji {
    transform: scale(1.15) translateY(-4px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}


/* Country Cards with Flags */
.country-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    min-height: 200px;
}

.country-flag-container {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 4/3;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.country-card:hover .country-flag-container {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.country-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.country-info {
    text-align: center;
    width: 100%;
}

.country-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.country-code {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive additions for new components */
@media (max-width: 768px) {
    .country-card {
        padding: 1rem;
        min-height: 180px;
    }

    .country-flag-container {
        max-width: 140px;
    }

    .country-name {
        font-size: 1rem;
    }

    .page-content {
        padding-top: 100px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .section-heading {
        font-size: 1.25rem;
    }

    .alphabet-nav {
        gap: 0.25rem;
    }

    .alphabet-nav a {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }

    .street-list {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-card i {
        font-size: 1.5rem;
    }

    .map-container {
        height: 400px;
        margin: 1rem 0;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination a,
    .pagination span {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
        min-width: 40px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .alphabet-nav a {
        padding: 0.35rem 0.6rem;
        font-size: 0.85rem;
    }

    .map-container {
        height: 300px;
    }
}

/* =========================================
   PRO DESIGN UTILITY CLASSES
   (Tailwind-inspired logic for PHP Views)
   ========================================= */

/* -- Colors -- */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-red-500 {
    color: #ef4444;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

/* -- Borders -- */
.border {
    border: 1px solid #e5e7eb;
}

.border-b {
    border-bottom: 1px solid #e5e7eb;
}

.border-t {
    border-top: 1px solid #e5e7eb;
}

.border-transparent {
    border-color: transparent;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* -- Shadows -- */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* -- Grid -- */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

/* -- Flex -- */
.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1\.5 {
    gap: 0.375rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.mt-auto {
    margin-top: auto;
}

/* -- Spacing -- */
.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-8 {
    padding: 2rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-5 {
    padding-bottom: 1.25rem;
}

.pt-0 {
    padding-top: 0;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-3 {
    padding-top: 0.75rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* -- Typography -- */
.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-center {
    text-align: center;
}

.underline {
    text-decoration: underline;
}

.inline-block {
    display: inline-block;
}

/* -- Transitions -- */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.transform {
    transform: var(--tw-transform);
}

.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

/* -- Group Hover -- */
.group:hover .group-hover\:text-primary {
    color: var(--primary);
}

details.group[open] .group-open\:rotate-180 {
    transform: rotate(180deg);
}

details.group[open] .group-open\:border-gray-100 {
    border-color: #f3f4f6;
}

/* -- Responsive -- */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

/* -- Gradient Text -- */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.from-primary {
    --tw-gradient-from: var(--primary);
    --tw-gradient-to: rgb(255 255 255 / 0);
}


/* -- Cookie Consent -- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 50;
    display: none;
    border-top: 1px solid #e5e7eb;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-banner {
        padding: 1rem;
    }
}