:root {
    --primary: #0b5e77;
    --secondary: #0f172a;
    --accent: #10b981;
    --shadow: 0 20px 60px rgba(0,0,0,0.08);
}
* { box-sizing: border-box; }
body {
    font-family: 'Tajawal', sans-serif;
    background: #f0f4f8;
    color: var(--secondary);
    overflow-x: hidden;
}
.navbar-custom {
    background: rgba(15,23,42,0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    padding: 12px 0;
}
.navbar-brand {
    font-weight: 900;
    color: white !important;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}
.navbar-brand i { color: var(--accent); }

/* ===== الكود الذي طلبته لأناقة الروابط ===== */
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    transition: 0.3s;
}
.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: #facc15 !important;
}
.navbar-nav .nav-link.active {
    background: rgba(255,255,255,0.20);
    color: #facc15 !important;
}
/* ======================================= */

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

.date-badge {
    background: rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.05);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.live-clock {
    background: rgba(255,255,255,0.08);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #facc15;
    font-weight: 700;
    border: 1px solid rgba(250,204,21,0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero {
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(11,94,119,0.75) 100%),
                url('https://images.unsplash.com/photo-1519823551278-64ac92734fb1?q=80&w=2000');
    background-size: cover;
    background-position: center;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 76px;
    border-bottom: 6px solid var(--accent);
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, #f0f4f8, transparent);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-weight: 900; font-size: 3rem; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero p { font-size: 1.3rem; opacity: 0.95; font-weight: 500; }
.status-badge {
    display: inline-block;
    padding: 8px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 12px;
    border: 2px solid;
    transition: 0.3s;
}
.status-open {
    background: rgba(16,185,129,0.15);
    color: #10b981;
    border-color: #10b981;
    animation: pulse-green 2s infinite;
}
.status-closed {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
    border-color: #ef4444;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 24px 0 16px;
    scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-btn {
    background: white;
    border: none;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    color: var(--secondary);
    font-size: 0.95rem;
    border: 1px solid transparent;
}
.category-btn.active {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(11,94,119,0.3);
    border-color: var(--primary);
}
.category-btn:hover { transform: translateY(-2px); }
.service-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(11,94,119,0.15);
}
.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.service-body { padding: 22px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.service-title { font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; color: var(--secondary); }
.service-desc { font-size: 0.9rem; color: #64748b; margin-bottom: 12px; flex: 1; }
.availability-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 30px;
    display: inline-block;
}
.avail-yes { background: #d1fae5; color: #065f46; }
.avail-no { background: #fee2e2; color: #991b1b; }
.btn-book {
    background: linear-gradient(135deg, var(--primary), #0891b2);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 16px;
    font-weight: 700;
    width: 100%;
    margin-top: 14px;
    transition: 0.3s;
    font-size: 1rem;
}
.btn-book:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(11,94,119,0.4);
    color: white;
}
.btn-book:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.medical-bag-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary);
    color: white;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 35px rgba(11,94,119,0.5);
    cursor: pointer;
    z-index: 999;
    transition: 0.3s;
}
.medical-bag-float:hover { transform: scale(1.08); }
.medical-bag-float .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc3545;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}
.map-container {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 30px 0 40px;
    border: 4px solid white;
    position: relative;
}
.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: 0;
}
.map-btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.map-btn-group a {
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}
.map-btn-group .btn-google { background: #1a73e8; }
.map-btn-group .btn-google:hover { background: #1557b0; }
.map-btn-group .btn-waze { background: #33ccff; color: #1a1a2e; }
.map-btn-group .btn-waze:hover { background: #1ab2e6; }
.contact-card {
    background: white;
    border-radius: 24px;
    padding: 28px 20px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}
.contact-card:hover { transform: translateY(-6px); }
.contact-card i { font-size: 2.4rem; margin-bottom: 12px; }
.footer {
    background: #0a0f1a;
    color: #cbd5e1;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 4px solid var(--accent);
}
.footer a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
.footer a:hover { color: white; }
.designer-tag {
    background: rgba(255,255,255,0.06);
    padding: 14px 28px;
    border-radius: 60px;
    display: inline-block;
    margin-top: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}
.designer-tag a { color: #facc15; font-weight: 700; }
.page-header {
    background: var(--secondary);
    color: white;
    padding: 40px 0 30px;
    margin-top: 76px;
    border-bottom: 4px solid var(--accent);
    text-align: center;
}
.page-header h1 { font-weight: 900; }
.about-img {
    border-radius: 28px;
    box-shadow: var(--shadow);
    max-width: 100%;
    height: auto;
}

/* ===== تحسين التنقل في الشاشات الصغيرة ===== */
@media (max-width: 991px) {
    .navbar-nav {
        background: rgba(15,23,42,0.96);
        padding: 15px;
        border-radius: 16px;
        margin-top: 10px;
    }
    .navbar-nav .nav-link {
        text-align: center;
        padding: 12px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

@media (max-width: 768px) {
    .hero { min-height: 250px; margin-top: 66px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .date-badge { font-size: 0.6rem; padding: 4px 8px; }
    .live-clock { font-size: 0.7rem; padding: 4px 10px; }
    .navbar-brand { font-size: 1.1rem; }
    .service-card img { height: 170px; }
    .medical-bag-float { width: 60px; height: 60px; font-size: 1.4rem; bottom: 20px; left: 20px; }
    .map-container iframe { height: 250px; }
}