/* style.css - Complete Mobile-First Design */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f8fafc;
    --dark: #1e293b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Container Layout */
.container {
    display: flex;
    min-height: 100vh;
    background: white;
    width: 100%;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    box-shadow: var(--shadow);
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    max-width: 30%;
    height: auto;
    /*max-height: 60px;*/
}
.site-logo-desktop {
    max-width: 60%;
    height: auto;
    padding: 10px;
}




.mobile-city-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.city-name {
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.home-btn {
    background: var(--primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.home-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Sidebar (Desktop only) */
.sidebar {
    width: 320px;
    background: white;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-header {
    padding: 30px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.sidebar-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.city-selector {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.city-selector label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
    font-size: 1rem;
}

.city-dropdown {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.city-dropdown:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.selected-city-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.city-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--success);
    font-weight: 600;
    font-size: 1rem;
}

.city-stats i {
    font-size: 1.2rem;
}

.change-city {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.1);
    transition: all 0.3s;
    font-weight: 500;
}

.change-city:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
}

.attribution {
    margin-top: auto;
    padding: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary);
}

.attribution a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.attribution a:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 0.85rem;
    margin-top: 8px;
    opacity: 0.7;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 320px;
    min-height: 100vh;
    width: calc(100% - 320px);
    background: var(--light);
}

/* Welcome Section - Homepage */
.welcome-section {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.welcome-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 700;
}

.welcome-subtitle {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

/* Stats */
.stats-simple {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-simple {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 180px;
    text-align: center;
    flex-direction: column;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.stat-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.stat-content h3 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-content p {
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Simple Instructions */
.instructions-simple {
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.instruction-step-simple {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.instruction-step-simple:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.step-content-simple h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
}

.step-content-simple p {
    font-size: 0.9rem;
    color: var(--secondary);
    line-height: 1.5;
}

/* Popular Cities */
.popular-cities {
    margin-top: 40px;
    width: 100%;
}

.popular-cities h4 {
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 1.2rem;
    text-align: center;
}

.popular-city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.popular-city-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.popular-city-chip:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary);
}

/* Mobile Views */
.list-view {
    display: block;
}

.details-mobile-view {
    display: none;
}

/* Centres List */
.centres-section {
    padding: 20px;
    background: var(--light);
    min-height: calc(100vh - 120px);
    height: auto;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.section-header h2 i {
    color: var(--primary);
}

.count-badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.subtitle {
    color: var(--secondary);
    font-size: 0.9rem;
}

.centres-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Centre Card */
.centre-card {
    background: white;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
}

.centre-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.centre-card.active {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.centre-code {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.multi-system-badge {
    font-size: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.centre-categories {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge.Allopathy { background: #3b82f6; color: white; }
.category-badge.Ayurveda { background: #10b981; color: white; }
.category-badge.Homeopathy { background: #8b5cf6; color: white; }
.category-badge.Siddha { background: #f59e0b; color: white; }
.category-badge.Unani { background: #ef4444; color: white; }
.category-badge.Yoga { background: #06b6d4; color: white; }
.category-badge.Physiotherapy { background: #ec4899; color: white; }

.centre-address {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.centre-address i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.9rem;
}

.centre-doctors {
    font-size: 0.85rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.card-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    font-size: 1rem;
}

.centre-card.active .card-arrow {
    color: var(--primary);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--secondary);
}

.no-results i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 1.3rem;
}

/* Mobile Details View */
.details-mobile-view {
    padding: 20px;
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--light);
}

.details-content-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.detail-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.detail-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 700;
}

.detail-row {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 1rem;
}

.detail-label i {
    color: var(--primary);
    width: 20px;
    font-size: 1rem;
}

.detail-value {
    color: var(--secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Phone Numbers */
.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-number {
    width: 100%;
}

.phone-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.phone-link:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.call-icon {
    font-size: 1.2rem;
}

/* Doctors Info */
.doctors-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doctors-count {
    font-weight: 700;
    color: var(--success);
    font-size: 1.1rem;
}

.doctors-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.doctor-category {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.05);
    padding: 8px 12px;
    border-radius: 20px;
}

.doctor-category .count {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
}

.small-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
}

/* Map Section Mobile */
.map-section-mobile {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.map-notice {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.map-header h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.open-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.1);
    transition: all 0.3s;
}

.open-map-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    text-decoration: none;
}

.map-container {
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.no-map {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    text-align: center;
    padding: 40px 20px;
}

.no-map i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-map h4 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.1rem;
}

/* Desktop Details Section */
.details-section {
    padding: 30px;
    background: white;
    min-height: 100vh;
    height: 100vh;
    overflow-y: auto;
    border-left: 1px solid var(--border);
    width: calc(100% - 400px);
    position: fixed;
    right: 0;
    top: 0;
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.details-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    color: var(--dark);
    font-weight: 700;
}

.details-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.share-btn {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.share-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* Map Section Desktop */
.map-section {
    margin-top: 30px;
}

.map-section .map-notice {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* No Selection */
.no-selection {
    text-align: center;
    padding: 100px 20px;
    color: var(--secondary);
}

.no-selection i {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-selection h3 {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 1.5rem;
}

.no-selection p {
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

.mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--secondary);
    font-size: 0.8rem;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    width: 33.33%;
    min-height: 60px;
}

.nav-item i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.nav-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

.nav-item small {
    font-size: 0.7rem;
    color: var(--secondary);
    margin-top: -2px;
}

.nav-item.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.back-to-list-btn {
    background: var(--primary);
    color: white !important;
    font-weight: 600;
}

.change-city-btn, .select-city-btn {
    color: var(--primary) !important;
    font-weight: 600;
    text-align: center;
}

.change-city-btn span {
    font-size: 0.85rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 400px;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 1.2rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.city-list {
    display: flex;
    flex-direction: column;
}

.city-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
    border-radius: 6px;
    margin-bottom: 5px;
}

.city-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.city-item:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

.city-item i:first-child {
    color: var(--primary);
    margin-right: 12px;
    font-size: 1.1rem;
}

.city-item i:last-child {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Desktop Layout */
@media (min-width: 1025px) {
    .container {
        display: flex;
    }
    
    .main-content {
        display: flex;
        margin-left: 320px;
        width: calc(100% - 320px);
        position: relative;
    }
    
    .centres-section {
        flex: 0 0 400px;
        width: 400px;
        border-right: 1px solid var(--border);
        height: 100vh;
        overflow-y: auto;
        position: fixed;
        left: 320px;
        top: 0;
    }
    
    .details-section {
        position: fixed;
        right: 0;
        top: 0;
        width: calc(100% - 720px);
        margin-left: 400px;
    }
    
    .mobile-header {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .list-view {
        display: flex;
        width: 100%;
    }
    
    .details-mobile-view {
        display: none !important;
    }
    
    /* Desktop Welcome Section */
    .welcome-section {
        padding: 60px 40px;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .welcome-content h2 {
        font-size: 2.2rem;
    }
    
    .welcome-subtitle {
        font-size: 1.1rem;
    }
    
    .instructions-simple {
        gap: 25px;
        margin: 40px 0;
    }
    
    .instruction-step-simple {
        padding: 25px 20px;
    }
    
    .stats-simple {
        gap: 40px;
        margin: 40px 0;
    }
    
    .stat-simple {
        padding: 30px;
        min-width: 200px;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
    }
    
    .stat-icon i {
        font-size: 2rem;
    }
    
    .stat-content h3 {
        font-size: 2.5rem;
    }
    
    .popular-city-chips {
        max-width: 900px;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 300px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .details-section {
        display: none !important;
    }
    
    .instructions-simple {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-simple {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Show mobile details view when center selected */
    <?php if(isset($selectedCenter) && $selectedCenterIndex >= 0): ?>
    .list-view {
        display: none;
    }
    
    .details-mobile-view {
        display: block;
    }
    <?php endif; ?>
}

/* Mobile Styles */
@media (max-width: 768px) {
    .welcome-section {
        padding: 20px 15px;
        padding-top: 70px;
        padding-bottom: 80px;
    }
    
    .instructions-simple {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-simple {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-simple {
        padding: 20px;
        flex-direction: row;
        text-align: left;
        min-width: auto;
    }
    
    .stat-icon {
        margin-bottom: 0;
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .stat-icon i {
        font-size: 1.5rem;
    }
    
    .stat-content h3 {
        font-size: 1.8rem;
    }
    
    .popular-city-chips {
        flex-direction: column;
    }
    
    .popular-city-chip {
        justify-content: center;
    }
    
    .centres-section,
    .details-mobile-view {
        padding: 15px;
        padding-top: 70px;
        padding-bottom: 80px;
    }
    
    .detail-card {
        padding: 15px;
    }
    
    .map-container {
        height: 200px;
    }
    
    .doctors-breakdown {
        flex-direction: column;
        gap: 8px;
    }
    
    .detail-row {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .nav-item {
        min-height: 55px;
    }
    
    .nav-item i {
        font-size: 1.2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-logo {
        max-width: 40%;
    }
    
    .welcome-icon {
        font-size: 3rem;
    }
    
    .welcome-content h2 {
        font-size: 1.5rem;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
    }
    
    .step-icon i {
        font-size: 1.3rem;
    }
    
    .centre-card {
        padding: 15px;
    }
    
    .nav-item {
        font-size: 0.75rem;
        padding: 6px 8px;
        min-height: 50px;
    }
    
    .nav-item i {
        font-size: 1.1rem;
    }
    
    .nav-item span {
        font-size: 0.75rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.centre-card {
    animation: fadeInUp 0.3s ease-out forwards;
    opacity: 0;
}

/* Scrollbar Styling */
.centres-section::-webkit-scrollbar,
.details-section::-webkit-scrollbar,
.sidebar::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.centres-section::-webkit-scrollbar-track,
.details-section::-webkit-scrollbar-track,
.sidebar::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.centres-section::-webkit-scrollbar-thumb,
.details-section::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.centres-section::-webkit-scrollbar-thumb:hover,
.details-section::-webkit-scrollbar-thumb:hover,
.sidebar::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}