/* ==================== VARIABLES & DESIGN SYSTEM ==================== */
:root {
    /* DARK THEME (Apple Midnight Glass - Default) */
    --bg-page:       #000000;
    --bg-card:       rgba(22, 22, 23, 0.55);
    --bg-card-solid: #161617;
    --bg-nav:        rgba(0, 0, 0, 0.7);
    --bg-input:      rgba(255, 255, 255, 0.05);
    --bg-input-focus:rgba(255, 255, 255, 0.08);
    --border:        rgba(255, 255, 255, 0.08);
    --border-hover:  rgba(255, 255, 255, 0.16);
    --text:          #f5f5f7;
    --text-muted:    #86868b;
    --text-heading:  #ffffff;
    --hero-grad:     radial-gradient(circle at 50% 0%, #0a1c3d 0%, #000000 80%);

    /* Brand Accents */
    --primary:       #0071e3;
    --primary-dark:  #0059b3;
    --accent:        #2997ff;
    --accent-glow:   rgba(41, 151, 255, 0.18);
    --accent2:       #a855f7;
    --gradient:      linear-gradient(135deg, #0071e3 0%, #2997ff 50%, #5e5ce6 100%);
    --shadow-glow:   0 0 50px rgba(0, 113, 227, 0.12);
    --shadow-card:   0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);

    --radius:    24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    
    /* Apple Spring Easing */
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    /* LIGHT THEME (Apple Silver Glass) */
    --bg-page:       #f5f5f7;
    --bg-card:       rgba(255, 255, 255, 0.45);
    --bg-card-solid: #ffffff;
    --bg-nav:        rgba(245, 245, 247, 0.72);
    --bg-input:      rgba(0, 0, 0, 0.04);
    --bg-input-focus:rgba(0, 0, 0, 0.06);
    --border:        rgba(0, 0, 0, 0.08);
    --border-hover:  rgba(0, 0, 0, 0.16);
    --text:          #1d1d1f;
    --text-muted:    #6e6e73;
    --text-heading:  #1d1d1f;
    --hero-grad:     radial-gradient(circle at 50% 0%, #e0f2fe 0%, #f5f5f7 80%);

    --accent:        #0071e3;
    --accent-glow:   rgba(0, 113, 227, 0.12);
    --gradient:      linear-gradient(135deg, #0071e3 0%, #5e5ce6 100%);
    --shadow-glow:   0 0 40px rgba(0, 113, 227, 0.06);
    --shadow-card:   0 30px 60px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ==================== GLOBAL RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-page);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: rgba(134, 134, 139, 0.3); border-radius: 10px; border: 2px solid var(--bg-page); }
::-webkit-scrollbar-thumb:hover { background: rgba(134, 134, 139, 0.5); }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(25px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}
@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
}
@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(3.2); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    background: var(--bg-nav);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    margin: 15px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgb(149 149 149 / 31%);
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgb(149 149 149 / 31%);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: var(--transition-fast); }
.nav-brand:hover { opacity: 0.85; transform: scale(0.98); }
.nav-logo-wrap {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}
.nav-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.nav-title {
    font-size: 16px; font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-heading);
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; padding: 6px 14px;
    border-radius: var(--radius-xs); font-size: 13px; font-weight: 500; transition: var(--transition-fast);
}
.nav-links a:hover { color: var(--text-heading); background: rgba(255, 255, 255, 0.05); }
[data-theme="light"] .nav-links a:hover { background: rgba(0, 0, 0, 0.03); }

.btn-login {
    background: var(--text-heading) !important;
    color: var(--bg-page) !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    padding: 6px 16px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-login:hover {
    transform: scale(0.97);
    opacity: 0.9;
}

/* Theme Toggle */
.theme-toggle {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--bg-input); border: 1px solid var(--border);
    color: var(--text-muted); cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-fast);
}
.theme-toggle:hover { color: var(--text-heading); border-color: var(--border-hover); background: var(--bg-input-focus); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 20px; cursor: pointer; }

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 80px 4% 40px;
    background: var(--hero-grad);
}
.hero-bg-decor { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-decor::before {
    content: ''; position: absolute; top: -10%; right: 10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
    border-radius: 50%; animation: floatBg 15s ease-in-out infinite;
}
.hero-bg-decor::after {
    content: ''; position: absolute; bottom: -10%; left: 10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(94, 92, 230, 0.08) 0%, transparent 65%);
    border-radius: 50%; animation: floatBg 18s ease-in-out infinite reverse;
}
.grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
    opacity: 0.65;
}

.hero-grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px; align-items: center;
    width: 100%; max-width: 1200px; margin: auto;
}

.hero-text { text-align: right; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg-input); border: 1px solid var(--border);
    padding: 6px 14px; border-radius: 30px; font-size: 12px;
    color: var(--text-heading); font-weight: 500; margin-bottom: 24px;
}
.pulse-dot {
    width: 6px; height: 6px; background: #30d158; border-radius: 50%; position: relative;
}
.pulse-dot::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: #30d158; animation: pulseRing 2s ease-out infinite;
}

.hero-title {
    font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; line-height: 1.15;
    margin-bottom: 20px; color: var(--text-heading); letter-spacing: -0.02em;
}
.hero-title .hl {
    background: var(--gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
    display: inline-block;
}
.hero-desc {
    font-size: 16px; color: var(--text-muted);
    margin-bottom: 32px; line-height: 1.65; font-weight: 400;
    max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 600;
    cursor: pointer; border: none; text-decoration: none; transition: var(--transition-fast);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary); color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.25);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}
.btn-outline {
    background: transparent; color: var(--text-heading);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background: var(--bg-input);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Stats Widgets */
.hero-stats {
    display: flex; gap: 30px; margin-top: 40px;
}
.hero-stat {
    display: flex; flex-direction: column; gap: 4px;
}
.hero-stat-val {
    font-size: 28px; font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}
.hero-stat-lbl { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ==================== BOOKING CARD ==================== */
.booking-card-wrap {
    scroll-margin-top: 80px;
    perspective: 1000px;
}
.booking-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    transition: var(--transition);
}
.booking-card:hover {
    border-color: var(--border-hover);
}
.booking-tabs {
    display: flex; gap: 4px; background: rgba(0, 0, 0, 0.15);
    padding: 3px; border-radius: 12px; margin-bottom: 20px;
    border: 1px solid var(--border);
}
[data-theme="light"] .booking-tabs { background: rgba(0,0,0,0.03); }
.booking-tab {
    flex: 1; padding: 8px; border: none; border-radius: 9px;
    font-family: 'Cairo', sans-serif; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: var(--transition-fast);
    background: transparent; color: var(--text-muted);
}
.booking-tab.active {
    background: var(--bg-card-solid);
    color: var(--text-heading);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
[data-theme="light"] .booking-tab.active {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Custom Premium Forms */
.form-group { margin-bottom: 16px; text-align: right; }
.form-label {
    display: block; font-size: 11px; font-weight: 600; color: var(--text-muted);
    margin-bottom: 6px; letter-spacing: 0.02em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-control {
    width: 100%; padding: 12px 14px;
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text);
    font-family: 'Cairo', sans-serif; font-size: 13.5px; transition: var(--transition-fast);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.form-control:focus {
    border-color: var(--accent);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.6; }

/* Custom select dropdown styling */
select.form-control {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    background-size: 14px;
    padding-left: 36px;
}
select.form-control option { background: var(--bg-card-solid); color: var(--text); }

.phone-notice {
    display: none; margin-top: 6px; padding: 8px 12px;
    border-radius: var(--radius-xs); font-size: 11px; font-weight: 500;
}
.phone-notice.warning { background: rgba(255, 159, 10, 0.1); border: 1px solid rgba(255, 159, 10, 0.2); color: #ff9f0a; }
.phone-notice.info    { background: rgba(10, 132, 255, 0.1); border: 1px solid rgba(10, 132, 255, 0.2); color: var(--accent); }

/* Time slots widget (Calendar View Style) */
.slots-wrap { display: none; margin-top: 14px; animation: fadeUp 0.4s ease; text-align: right; }
.slots-wrap.show { display: block; }
.slots-label { font-size: 11px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.slots-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
    max-height: 140px; overflow-y: auto; padding: 2px;
}
.time-slot {
    padding: 8px 4px; border: 1px solid var(--border);
    border-radius: var(--radius-xs); font-size: 11px; font-weight: 600;
    text-align: center; cursor: pointer; transition: var(--transition-fast);
    color: var(--text-muted); background: var(--bg-input);
}
.time-slot.avail:hover {
    border-color: var(--accent);
    color: var(--text-heading);
    background: var(--bg-input-focus);
}
.time-slot.picked {
    border-color: transparent !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.3);
}
.time-slot.taken { opacity: 0.25; cursor: not-allowed; text-decoration: line-through; }
.slots-loading { text-align: center; padding: 20px; color: var(--text-muted); font-size: 12px; grid-column: 1 / -1; }
.spinner { animation: spin 1s linear infinite; }

/* ==================== SECTIONS & DECORATIVE ORBS ==================== */
section { padding: 95px 4%; position: relative; }
.sec-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 1; }
.sec-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg-input); border: 1px solid var(--border);
    color: var(--text-heading); padding: 5px 14px; border-radius: 30px;
    font-size: 12px; font-weight: 600; margin-bottom: 16px;
}
.sec-title {
    font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
    color: var(--text-heading); margin-bottom: 16px; letter-spacing: -0.02em;
}
.sec-title .hl { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sec-desc { color: var(--text-muted); font-size: 15px; max-width: 560px; margin: 0 auto; font-weight: 400; }

/* Floating Glowing Orbs Behind Frosted Glass Cards */
section::before {
    content: ''; position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    transition: var(--transition);
}
[data-theme="light"] section::before { opacity: 0.15; filter: blur(100px); }

#services::before {
    top: 10%; right: 5%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
#services::after {
    content: ''; position: absolute;
    bottom: 10%; left: 5%;
    width: 280px; height: 280px;
    border-radius: 50%;
    filter: blur(100px);
    background: radial-gradient(circle, var(--accent2) 0%, transparent 70%);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}
#doctors::before {
    bottom: 5%; left: 10%;
    background: radial-gradient(circle, var(--accent2) 0%, transparent 70%);
}
#hours::before {
    top: 15%; right: 10%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

/* Bento Grid Services */
.services-bg { background: transparent; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px; max-width: 1200px; margin: 0 auto;
    position: relative; z-index: 1;
}
.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    cursor: default;
    display: flex;
    flex-direction: column;
    text-align: right;
    box-shadow: var(--shadow-card);
}
.svc-card::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--svc-color, var(--gradient));
    opacity: 0;
    transition: var(--transition);
    border-radius: inherit;
    z-index: 0;
}
.svc-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255,255,255,0.08);
}
[data-theme="light"] .svc-card:hover {
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.4);
}
.svc-card:hover::before { opacity: 0.04; }
.svc-card > * { position: relative; z-index: 1; }

.svc-icon-wrap {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #ffffff; margin-bottom: 20px;
    background: var(--svc-color, var(--gradient));
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    margin-left: auto;
    transition: var(--transition);
}
.svc-card:hover .svc-icon-wrap {
    transform: scale(1.08) rotate(-3deg);
}
.svc-tag {
    align-self: flex-start;
    display: inline-block; font-size: 10px; font-weight: 700;
    padding: 3px 8px; border-radius: 12px;
    color: var(--svc-text, var(--accent));
    background: var(--bg-input);
    margin-bottom: 12px;
    margin-right: auto;
}
.svc-name { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-heading); }
.svc-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

.svc-arrow {
    position: absolute; bottom: 18px; left: 20px;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--bg-input);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 11px;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(8px);
}
.svc-card:hover .svc-arrow { opacity: 1; transform: translateX(0); color: var(--text-heading); background: var(--bg-input-focus); }

/* Bento specific sizing */
@media (min-width: 992px) {
    .cards-grid .svc-card:nth-child(1),
    .cards-grid .svc-card:nth-child(6) {
        grid-column: span 2;
    }
}

/* Doctors Section */
#doctors { overflow: hidden; }
.cards-grid.docs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.cards-grid.docs-grid .doc-card {
    flex: 1 1 280px;
    max-width: 380px;
    width: 100%;
}
@media (max-width: 480px) {
    .cards-grid.docs-grid .doc-card {
        max-width: 100%;
    }
}
.doc-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 20px; text-align: center; transition: var(--transition);
    backdrop-filter: blur(25px) saturate(180%); -webkit-backdrop-filter: blur(25px) saturate(180%);
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-card);
}
.doc-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background: var(--gradient); transform:scaleX(0); transition: var(--transition);
}
.doc-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 30px 60px rgba(0,0,0,0.22);
}
.doc-card:hover::after { transform: scaleX(1); }
.doc-avatar {
    width: 80px; height: 80px; border-radius: 50%; background: var(--bg-input);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--text-heading); margin: 0 auto 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.doc-card:hover .doc-avatar {
    transform: scale(1.05);
    background: var(--gradient);
    color: #ffffff;
    border-color: transparent;
}
.doc-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text-heading); }
.doc-spec {
    font-size: 12px; color: var(--text-muted); font-weight: 500;
    background: var(--bg-input);
    padding: 4px 12px; border-radius: 20px; display: inline-block;
}

/* Working Hours Section */
#hours { overflow: hidden; }
.hours-wrap { display: grid; grid-template-columns: 1.10fr 0.90fr; gap: 32px; max-width: 1000px; margin: 0 auto; align-items: start; position: relative; z-index: 1; }
.hours-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; backdrop-filter: blur(25px) saturate(180%); -webkit-backdrop-filter: blur(25px) saturate(180%);
    text-align: right;
    box-shadow: var(--shadow-card);
}
.hours-card-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; color: var(--text-heading); }
.hours-card-title i { color: var(--accent); }
.days-list { list-style: none; }
.day-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.day-item:last-child { border-bottom: none; }
.day-name { font-weight: 500; color: var(--text-heading); }
.day-pill { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.open-pill  { background: rgba(48, 209, 88, 0.1); color: #30d158; border: 1px solid rgba(48, 209, 88, 0.15); }
.closed-pill { background: rgba(255, 69, 58, 0.1); color: #ff453a; border: 1px solid rgba(255, 69, 58, 0.15); }

/* Info Items (Widgets Dashboard) */
.info-items { display: flex; flex-direction: column; gap: 14px; text-align: right; }
.info-item {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 16px; display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text);
    transition: var(--transition-fast);
    backdrop-filter: blur(25px) saturate(180%); -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: var(--shadow-card);
}
.info-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.info-icon {
    width: 40px; height: 40px; background: var(--bg-input); border: 1px solid var(--border);
    border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text-heading); flex-shrink: 0;
    transition: var(--transition-fast);
}
.info-item:hover .info-icon {
    background: var(--gradient);
    color: #ffffff;
    border-color: transparent;
}
.info-label { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.info-value { font-size: 14px; font-weight: 700; color: var(--text-heading); margin-top: 2px; }

/* Maps & Contacts */
.map-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; max-width: 1000px; margin: 0 auto; align-items: start; position: relative; z-index: 1; }
.map-box {
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 320px;
    background: var(--bg-card); display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-card);
}
.map-box iframe { width: 100%; height: 100%; border: none; }
.map-no { text-align: center; color: var(--text-muted); padding: 40px; }
.map-no i { font-size: 32px; margin-bottom: 12px; color: var(--accent); display: block; }

.contact-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; backdrop-filter: blur(25px) saturate(180%); -webkit-backdrop-filter: blur(25px) saturate(180%); text-align: right;
    box-shadow: var(--shadow-card);
}
.contact-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text-heading); }
.contact-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border);
    text-decoration: none; color: var(--text); transition: var(--transition-fast); font-size: 13.5px; font-weight: 500;
}
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { color: var(--accent); }
.contact-icon {
    width: 32px; height: 32px; background: var(--bg-input); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-muted); flex-shrink: 0;
}
.contact-item:hover .contact-icon { color: #ffffff; background: var(--primary); }

/* Footer */
footer {
    background: var(--bg-card-solid); border-top: 1px solid var(--border);
    padding: 30px 4%; text-align: center;
    position: relative; z-index: 1;
}
.footer-text { color: var(--text-muted); font-size: 13px; }
.footer-text span { font-weight: 700; color: var(--text-heading); }
.footer-login {
    display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12px;
    text-decoration: none; margin-top: 12px; transition: var(--transition-fast);
}
.footer-login:hover { color: var(--text-heading); }

/* Query Results */
.query-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px; margin-bottom: 12px; text-align: right;
}
.query-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12.5px; }
.query-row:last-child { border-bottom: none; }
.query-lbl { color: var(--text-muted); }
.query-val { font-weight: 600; color: var(--text-heading); }
.queue-badge {
    display: inline-flex; align-items: center; gap: 5px; background: var(--gradient);
    color: #ffffff; padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
}
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.st-pending  { background: rgba(255, 159, 10, 0.1); color: #ff9f0a; border: 1px solid rgba(255, 159, 10, 0.15); }
.st-confirmed{ background: rgba(48, 209, 88, 0.1); color: #30d158; border: 1px solid rgba(48, 209, 88, 0.15); }
.st-rejected { background: rgba(255, 69, 58, 0.1); color: #ff453a; border: 1px solid rgba(255, 69, 58, 0.15); }
.st-scheduled{ background: rgba(10, 132, 255, 0.1); color: #0a84ff; border: 1px solid rgba(10, 132, 255, 0.15); }

/* ==================== RESPONSIVE LAYOUTS ==================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-text { order: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .booking-card-wrap { display: none; order: 2; width: 100%; max-width: 540px; margin: 0 auto; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hours-wrap { grid-template-columns: 1fr; }
    .map-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; top: 54px; left: 0; right: 0;
        background: rgb(0 0 0 / 85%); flex-direction: column; padding: 20px;
        border-bottom: 1px solid var(--border); gap: 8px;
        backdrop-filter: blur(20px) saturate(190%);
        -webkit-backdrop-filter: blur(20px) saturate(190%);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .slots-grid { grid-template-columns: repeat(3, 1fr); }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 60px 4%; }
}

@media (max-width: 480px) {
    .cards-grid { grid-template-columns: 1fr; }
    .booking-card { padding: 16px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { justify-content: center; width: 100%; }
    .slots-grid { grid-template-columns: repeat(2, 1fr); }
}
