/* =============================================
   Palanpur Hospitals - Stylesheet
   ============================================= */

:root {
    --blue-50: #eef6ff;
    --blue-100: #d9eaff;
    --blue-200: #bcdbff;
    --blue-300: #8ec5ff;
    --blue-400: #59a5ff;
    --blue-500: #3381ff;
    --blue-600: #0b6bcb;
    --blue-700: #0a56a8;
    --blue-800: #0f4785;
    --blue-900: #0c2d54;
    --blue-950: #081d38;
    
    --green-500: #22c55e;
    --green-600: #16a34a;
    --red-500: #ef4444;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    
    --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;
    
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-blue: 0 4px 20px rgba(11,107,203,0.25);
    
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--gray-50); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* Container */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Topbar */
.topbar { background: var(--blue-950); color: rgba(255,255,255,0.7); font-size: 0.8rem; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-divider { opacity: 0.3; }
.topbar-right { display: flex; gap: 16px; }
.topbar-right a { color: rgba(255,255,255,0.8); font-weight: 500; }
.topbar-right a:hover { color: #fff; }
.topbar-right i { margin-right: 4px; }

/* Header */
.header { background: var(--blue-600); padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(11,107,203,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--blue-600); font-size: 1.2rem; font-weight: 700; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.logo-sub { color: rgba(255,255,255,0.7); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { color: rgba(255,255,255,0.85); padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; transition: all var(--transition); }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.15); color: #fff; }
.nav-link i { margin-right: 5px; font-size: 0.85rem; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; color: #fff; font-size: 1.4rem; padding: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; transition: all var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-white { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-white:hover { background: rgba(255,255,255,0.25); }
.btn-outline { background: transparent; color: var(--blue-600); border: 2px solid var(--blue-200); }
.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-400); }
.btn-green { background: var(--green-500); color: #fff; }
.btn-green:hover { background: var(--green-600); }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn i { font-size: 0.85em; }

/* ===================== HERO ===================== */
.hero { 
    background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 40%, var(--blue-500) 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: 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.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 6px 16px; border-radius: var(--radius-full); color: #fff; font-size: 0.82rem; font-weight: 500; margin-bottom: 20px; backdrop-filter: blur(4px); }
.hero-badge i { color: var(--amber-400); }
.hero h1 { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 14px; }
.hero h1 span { color: var(--amber-400); }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; }

/* Search Box */
.search-box { 
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 8px;
    display: flex;
    gap: 8px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1);
}
.search-box input, .search-box select {
    border: none; outline: none; font-family: inherit; font-size: 0.95rem; padding: 14px 16px; background: var(--gray-50); border-radius: var(--radius); color: var(--gray-800);
}
.search-box input { flex: 1; min-width: 0; }
.search-box input::placeholder { color: var(--gray-400); }
.search-box select { width: 170px; color: var(--gray-500); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
.search-box .btn { padding: 14px 28px; border-radius: var(--radius); font-size: 0.95rem; white-space: nowrap; }

.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 36px; }
.hero-stat { text-align: center; color: #fff; }
.hero-stat-num { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; }
.hero-stat-label { font-size: 0.8rem; opacity: 0.7; margin-top: 2px; }

/* ===================== SECTIONS ===================== */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.section-header p { color: var(--gray-500); font-size: 1rem; max-width: 500px; margin: 0 auto; }
.section-header .section-line { width: 50px; height: 4px; background: var(--blue-500); border-radius: 2px; margin: 12px auto 0; }
.section-bg { background: #fff; }

/* ===================== LISTING TYPES ===================== */
.types-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.type-card { 
    background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; 
    border: 1px solid var(--gray-200); transition: all var(--transition); cursor: pointer;
}
.type-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.type-card-icon { width: 56px; height: 56px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.3rem; }
.type-card:nth-child(1) .type-card-icon { background: #dbeafe; color: var(--blue-600); }
.type-card:nth-child(2) .type-card-icon { background: #dcfce7; color: var(--green-600); }
.type-card:nth-child(3) .type-card-icon { background: #fef3c7; color: #d97706; }
.type-card:nth-child(4) .type-card-icon { background: #fce7f3; color: #db2777; }
.type-card:nth-child(5) .type-card-icon { background: #fee2e2; color: var(--red-500); }
.type-card h3 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.type-card p { font-size: 0.78rem; color: var(--gray-400); }

/* ===================== HOSPITAL CARDS ===================== */
.hospital-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(370px, 1fr)); gap: 24px; }
.hospital-card { 
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--gray-200); transition: all var(--transition);
}
.hospital-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.hcard-image { 
    height: 180px; background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.hcard-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.3), transparent); }
.hcard-image i { font-size: 3rem; color: rgba(255,255,255,0.2); position: relative; z-index: 1; }

.hcard-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.hcard-badge { padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.hcard-badge-featured { background: var(--amber-400); color: var(--gray-900); }
.hcard-badge-type { background: rgba(255,255,255,0.9); color: var(--blue-700); }
.hcard-badge-verified { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--green-500); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }

.hcard-body { padding: 20px; }
.hcard-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.hcard-title a:hover { color: var(--blue-600); }
.hcard-area { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.hcard-area i { color: var(--blue-400); }
.hcard-desc { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hcard-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.stars { color: var(--amber-400); font-size: 0.8rem; display: flex; gap: 1px; }
.hcard-rating-num { font-weight: 700; color: var(--gray-800); font-size: 0.9rem; }
.hcard-rating-count { font-size: 0.78rem; color: var(--gray-400); }

.hcard-facilities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.facility-badge { font-size: 0.72rem; padding: 4px 8px; border-radius: var(--radius-full); display: inline-flex; align-items: center; gap: 4px; }
.badge-active { background: var(--blue-50); color: var(--blue-700); }
.badge-inactive { background: var(--gray-100); color: var(--gray-400); text-decoration: line-through; }

.hcard-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--gray-100); }
.hcard-phone { display: flex; align-items: center; gap: 6px; color: var(--green-600); font-weight: 600; font-size: 0.85rem; }
.hcard-phone i { font-size: 0.9rem; }

/* ===================== SPECIALITIES ===================== */
.spec-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.spec-card { 
    background: #fff; border-radius: var(--radius); padding: 20px 14px; text-align: center;
    border: 1px solid var(--gray-200); transition: all var(--transition);
}
.spec-card:hover { border-color: var(--blue-300); transform: translateY(-2px); box-shadow: var(--shadow); }
.spec-card i { font-size: 1.5rem; color: var(--blue-500); margin-bottom: 8px; display: block; }
.spec-card span { font-size: 0.82rem; font-weight: 500; color: var(--gray-700); }

/* ===================== CTA ===================== */
.cta { 
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    padding: 60px 0; position: relative; overflow: hidden;
}
.cta::before { content: ''; position: absolute; width: 400px; height: 400px; background: rgba(255,255,255,0.04); border-radius: 50%; top: -200px; right: -100px; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-text h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 500px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ===================== HOSPITAL DETAIL ===================== */
.detail-hero { background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); padding: 40px 0; }
.detail-breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-bottom: 20px; }
.detail-breadcrumb a { color: rgba(255,255,255,0.8); }
.detail-breadcrumb a:hover { color: #fff; }
.detail-header { display: flex; align-items: flex-start; gap: 24px; }
.detail-logo { width: 80px; height: 80px; background: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--blue-600); flex-shrink: 0; }
.detail-info h1 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 16px; color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.detail-meta span { display: flex; align-items: center; gap: 5px; }
.detail-meta i { opacity: 0.7; }

.detail-content { padding: 40px 0; }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }

.detail-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 24px; margin-bottom: 24px; }
.detail-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.detail-card h3 i { color: var(--blue-500); }

.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facility-item { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: var(--radius-sm); background: var(--gray-50); font-size: 0.85rem; }
.facility-item.active { background: var(--blue-50); color: var(--blue-700); }
.facility-item.active i { color: var(--green-500); }
.facility-item.inactive { color: var(--gray-400); }
.facility-item.inactive i { color: var(--gray-300); }

.doctor-list { display: flex; flex-direction: column; gap: 12px; }
.doctor-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-sm); background: var(--gray-50); }
.doctor-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-100); display: flex; align-items: center; justify-content: center; color: var(--blue-600); font-weight: 700; flex-shrink: 0; }
.doctor-info h4 { font-size: 0.9rem; font-weight: 600; color: var(--gray-800); }
.doctor-info p { font-size: 0.78rem; color: var(--gray-500); }

.sidebar-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 24px; margin-bottom: 20px; }
.sidebar-card h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: var(--gray-900); }

.contact-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.88rem; }
.contact-item:last-child { border-bottom: none; }
.contact-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon.blue { background: var(--blue-50); color: var(--blue-600); }
.contact-icon.green { background: #dcfce7; color: var(--green-600); }
.contact-icon.amber { background: #fef3c7; color: #d97706; }

.timing-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.85rem; border-bottom: 1px solid var(--gray-100); }
.timing-row:last-child { border-bottom: none; }

.review-item { padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.review-item:last-child { border-bottom: none; }
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.review-author { font-weight: 600; font-size: 0.9rem; }
.review-date { font-size: 0.75rem; color: var(--gray-400); }
.review-title { font-weight: 600; font-size: 0.88rem; margin: 6px 0 4px; }
.review-text { font-size: 0.85rem; color: var(--gray-600); line-height: 1.6; }

/* ===================== LISTING PAGE ===================== */
.listing-header { background: var(--blue-600); padding: 30px 0; }
.listing-header h1 { font-family: var(--font-heading); color: #fff; font-size: 1.6rem; font-weight: 700; }
.listing-header p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.listing-body { padding: 30px 0; }
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; }

.filter-panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 20px; height: fit-content; position: sticky; top: 90px; }
.filter-group { margin-bottom: 20px; }
.filter-group h4 { font-size: 0.85rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-group label { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 0.85rem; color: var(--gray-600); cursor: pointer; }
.filter-group input[type="checkbox"] { accent-color: var(--blue-600); width: 16px; height: 16px; }
.filter-group select { width: 100%; padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--gray-300); font-size: 0.85rem; font-family: inherit; }

.listing-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.listing-count { font-size: 0.9rem; color: var(--gray-500); }
.listing-count strong { color: var(--gray-800); }
.listing-sort select { padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--gray-300); font-size: 0.85rem; font-family: inherit; }

/* ===================== FOOTER ===================== */
.footer { position: relative; }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 80px; }
.footer-main { background: var(--blue-900); padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.logo-light .logo-icon { background: rgba(255,255,255,0.1); color: #fff; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 14px 0; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all var(--transition); }
.footer-social a:hover { background: var(--blue-500); color: #fff; }
.footer-links h4 { color: #fff; font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,0.5); font-size: 0.85rem; padding: 5px 0; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { background: var(--blue-950); padding: 16px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===================== PAGINATION ===================== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 500; border: 1px solid var(--gray-200); color: var(--gray-600); transition: all var(--transition); }
.pagination a:hover { background: var(--blue-50); border-color: var(--blue-300); color: var(--blue-600); }
.pagination .active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .types-grid { grid-template-columns: repeat(3, 1fr); }
    .spec-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .listing-layout { grid-template-columns: 1fr; }
    .filter-panel { position: static; }
}

@media (max-width: 768px) {
    .topbar-left { display: none; }
    .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--blue-700); flex-direction: column; padding: 12px; gap: 4px; box-shadow: var(--shadow-lg); }
    .nav.open { display: flex; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.95rem; }
    .search-box { flex-direction: column; }
    .search-box select { width: 100%; }
    .hero-stats { gap: 20px; }
    .hero-stat-num { font-size: 1.3rem; }
    .types-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-grid { grid-template-columns: repeat(3, 1fr); }
    .hospital-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-text h2 { font-size: 1.5rem; }
    .cta-actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .facility-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .types-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-header { flex-direction: column; }
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.5s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
