:root {
    --neuro-ink: #0f172a;
    --neuro-ink-2: #1f2937;
    --neuro-muted: #5b6776;
    --neuro-primary: #0ea5a4;
    --neuro-secondary: #ff6b4a;
    --neuro-accent: #f5b942;
    --neuro-bg: #f7f4ef;
    --neuro-surface: #ffffff;
    --neuro-border: #e7dfd2;
    --neuro-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Manrope:wght@300;400;500;600;700&display=swap");

body.theme-neurology {
    background: radial-gradient(1200px 600px at 10% -10%, rgba(14, 165, 164, 0.15), transparent 60%),
                radial-gradient(900px 500px at 90% -5%, rgba(255, 107, 74, 0.14), transparent 55%),
                var(--neuro-bg);
    color: var(--neuro-ink-2);
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
}

.theme-neurology .main {
    background: transparent;
}

.theme-neurology h1,
.theme-neurology h2,
.theme-neurology h3,
.theme-neurology h4,
.theme-neurology h5,
.theme-neurology h6 {
    color: var(--neuro-ink);
    font-family: "DM Serif Display", "Times New Roman", serif;
    letter-spacing: 0.2px;
}

.theme-neurology p {
    color: var(--neuro-muted);
}

.theme-neurology a:hover,
.theme-neurology a:focus {
    color: var(--neuro-primary);
}

/* Header */
.theme-neurology #header .navbar {
    background: linear-gradient(135deg, rgba(252, 249, 244, 0.98) 0%, rgba(240, 248, 249, 0.98) 55%, rgba(232, 250, 248, 0.96) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
}

.theme-neurology .navbar-nav .nav-link {
    color: var(--neuro-ink);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.theme-neurology .navbar-nav .nav-link:hover {
    color: var(--neuro-secondary);
}

.theme-neurology .navbar-nav.items .dropdown-menu {
    min-width: 220px;
    border: 1px solid var(--neuro-border);
    border-radius: 12px;
    box-shadow: var(--neuro-shadow);
    padding: 8px 0;
}

.theme-neurology .navbar-nav.items .dropdown-item {
    font-weight: 600;
    color: var(--neuro-ink);
    font-size: 14px;
}

.theme-neurology .navbar-nav.items .dropdown-item:hover {
    background: rgba(14, 165, 164, 0.12);
    color: var(--neuro-secondary);
}

@media (min-width: 992px) {
    .theme-neurology .navbar-nav.items .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.theme-neurology .navbar-brand img {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

/* Buttons */
.theme-neurology .btn,
.theme-neurology .btn:active,
.theme-neurology .btn.btn-bordered:before,
.theme-neurology .btn.btn-bordered-white:after {
    background: linear-gradient(135deg, var(--neuro-primary) 0%, #0f766e 55%, var(--neuro-secondary) 100%);
}

.theme-neurology .btn.btn-bordered {
    color: var(--neuro-ink);
}

.theme-neurology .btn.btn-bordered:after {
    background: #ffffff;
}

.theme-neurology .btn.btn-bordered-white {
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.theme-neurology .service-btn::after {
    background-color: var(--neuro-secondary);
}

/* Backgrounds */
.theme-neurology .welcome-area {
    background: linear-gradient(135deg, #0f172a 0%, #0b3b44 50%, #0ea5a4 100%),
                radial-gradient(420px 420px at 15% 20%, rgba(255, 185, 66, 0.25), transparent 65%);
    background-blend-mode: normal, screen;
    background-size: cover;
    background-position: center;
}

.theme-neurology .welcome-area.bg-overlay::after {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(14, 165, 164, 0.75) 100%);
}

.theme-neurology .cta-area {
    background: linear-gradient(135deg, #0f172a 0%, #0b3b44 60%, #0ea5a4 100%);
}

.theme-neurology .cta-area.bg-overlay::after {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(255, 107, 74, 0.75) 100%);
}

.theme-neurology .breadcrumb-area {
    background: linear-gradient(135deg, #0f172a 0%, #0b3b44 60%, #0ea5a4 100%);
}

.theme-neurology .breadcrumb-area.overlay-dark::after {
    background-color: rgba(12, 20, 34, 0.68);
}

.theme-neurology .review-area.bg-overlay::after {
    background: linear-gradient(135deg, rgba(12, 20, 34, 0.88) 0%, rgba(14, 165, 164, 0.72) 100%);
}

/* Color utilities */
.theme-neurology .color-1 { color: var(--neuro-primary); }
.theme-neurology .color-2 { color: var(--neuro-secondary); }
.theme-neurology .color-3 { color: var(--neuro-accent); }

.theme-neurology .color-1.bg-hover:hover::after,
.theme-neurology .color-1.bg-hover.active::after { background-color: var(--neuro-primary); }
.theme-neurology .color-2.bg-hover:hover::after,
.theme-neurology .color-2.bg-hover.active::after { background-color: var(--neuro-secondary); }
.theme-neurology .color-3.bg-hover:hover::after,
.theme-neurology .color-3.bg-hover.active::after { background-color: var(--neuro-accent); }

.theme-neurology .bg-grey {
    background: #f1ece3;
}

/* Cards */
.theme-neurology .single-promo,
.theme-neurology .single-service,
.theme-neurology .contact-info,
.theme-neurology .single-review,
.theme-neurology .contact-box {
    background: var(--neuro-surface);
    border: 1px solid var(--neuro-border) !important;
    border-radius: 18px;
    box-shadow: var(--neuro-shadow);
}

.theme-neurology .single-service {
    padding: 30px;
}

.theme-neurology .contact-info span {
    color: var(--neuro-secondary);
}

.theme-neurology .case-studies-overlay {
    background: rgba(15, 23, 42, 0.7);
}

.theme-neurology .case-studies-overlay:hover {
    background: rgba(255, 107, 74, 0.78);
}

/* Forms */
.theme-neurology .form-control {
    border: 1px solid var(--neuro-border);
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 14px;
}

.theme-neurology .form-control:focus {
    border-color: var(--neuro-primary);
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 164, 0.2);
}

/* Footer */
.theme-neurology .footer-area {
    background: #ffffff;
    border-top: 1px solid var(--neuro-border);
}

.theme-neurology .footer-bottom.bg-grey {
    background: #efe9df;
}

/* Misc */
.theme-neurology #scrollUp {
    background: linear-gradient(135deg, var(--neuro-primary) 0%, var(--neuro-secondary) 100%);
}

/* Motion */
@keyframes neuroFadeUp {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

.theme-neurology .section-heading,
.theme-neurology .single-service,
.theme-neurology .single-promo,
.theme-neurology .single-review,
.theme-neurology .contact-info {
    animation: neuroFadeUp 0.8s ease both;
}

.theme-neurology .single-service:nth-child(2),
.theme-neurology .single-promo:nth-child(2),
.theme-neurology .single-review:nth-child(2) {
    animation-delay: 0.12s;
}

.theme-neurology .single-service:nth-child(3),
.theme-neurology .single-promo:nth-child(3),
.theme-neurology .single-review:nth-child(3) {
    animation-delay: 0.24s;
}
