@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --nl-maroon: #7D1B1B;
    --nl-maroon-dark: #631919;
    --nl-gold: #D99058;
    --nl-gold-light: #e8a96e;
    --nl-gold-pale: #fdf4ec;
    --nl-cream: #faf8f6;
    --nl-text: #2d2a2a;
    --nl-heading: #3a3333;
    --nl-muted: #6e6560;
    --nl-white: #ffffff;
    --nl-border: #ebe4df;
    --nl-charcoal: #2a2424;
    --nl-shadow: 0 4px 24px rgba(45, 36, 36, 0.06);
    --nl-radius: 12px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--nl-text);
    background: var(--nl-white);
    line-height: 1.6;
}

h1, h2, h3, h4, .nl-brand-name {
    font-family: 'Playfair Display', serif;
}

/* Top bar */
.nl-topbar {
    background: var(--nl-charcoal);
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    padding: 6px 0;
}
.nl-topbar a { color: rgba(255,255,255,0.85); text-decoration: none; }
.nl-topbar a:hover { color: var(--nl-gold-light); }
.nl-topbar i { color: var(--nl-gold-light); margin-right: 5px; }
.nl-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.nl-topbar .nl-topbar-right { justify-content: flex-end; }

/* Header / Navigation */
.nl-header {
    background: var(--nl-white);
    border-bottom: 1px solid var(--nl-border);
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nl-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 16px;
}

/* Single wordmark logo in header */
.nl-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    padding: 10px 0;
    max-width: 240px;
}
.nl-brand-wordmark {
    display: block;
    height: 44px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

/* Mobile toggle */
.nl-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--nl-border);
    border-radius: 8px;
    background: var(--nl-white);
    cursor: pointer;
}
.nl-nav-toggle-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--nl-text);
    border-radius: 1px;
}

/* Nav collapse wrapper */
@media (min-width: 992px) {
    .nl-nav-collapse.collapse {
        display: flex !important;
        height: auto !important;
        overflow: visible !important;
        visibility: visible !important;
    }
}
.nl-nav-collapse {
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 8px;
}

/* Menu links */
.nl-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}
.nl-menu-item {
    position: relative;
}
.nl-menu-item > a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nl-text);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nl-menu-item > a:hover {
    color: var(--nl-gold);
    background: var(--nl-gold-pale);
}
.nl-menu-item.active > a {
    color: var(--nl-maroon);
    background: var(--nl-gold-pale);
    font-weight: 600;
}
.nl-menu-item.active > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--nl-gold);
    border-radius: 2px;
}
.nl-menu-item.nl-has-dropdown > a .fa-chevron-down {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.5;
}
.nl-dropdown-menu {
    border: 1px solid var(--nl-border);
    border-radius: 10px;
    box-shadow: var(--nl-shadow);
    padding: 6px 0;
    margin-top: 4px;
    min-width: 180px;
}
.nl-dropdown-menu > li > a {
    padding: 10px 18px;
    font-size: 14px;
    color: var(--nl-text);
}
.nl-dropdown-menu > li > a:hover {
    background: var(--nl-gold-pale);
    color: var(--nl-text);
}

/* CTA button — separate from nav links */
.nl-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    padding: 11px 22px;
    background: var(--nl-gold);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(217, 144, 88, 0.35);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    flex-shrink: 0;
}
.nl-header-cta:hover,
.nl-header-cta:focus {
    background: var(--nl-gold-light);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(217, 144, 88, 0.45);
    text-decoration: none !important;
}
.nl-header-cta i {
    font-size: 15px;
}

/* Hero */
.nl-hero {
    position: relative;
    min-height: 560px;
    background: linear-gradient(135deg, #631919 0%, #7D1B1B 35%, #4a1515 70%, #2a1212 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.nl-hero.nl-hero-has-image {
    min-height:  min(72vh, 640px);
    background-size: cover;
    background-position: 58% center;
}
.nl-hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(217, 144, 88, 0.22) 0%, transparent 70%);
    pointer-events: none;
}
.nl-hero.nl-hero-has-image::after {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 38%;
    background: linear-gradient(to top, rgba(20, 16, 16, 0.35) 0%, transparent 100%);
}
.nl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(30,28,28,0.55) 0%, rgba(45,40,38,0.25) 50%, rgba(30,28,28,0.1) 100%);
}
.nl-hero.nl-hero-has-image::before {
    background:
        linear-gradient(90deg, rgba(18, 14, 14, 0.82) 0%, rgba(30, 24, 22, 0.55) 32%, rgba(40, 32, 28, 0.18) 52%, rgba(20, 16, 14, 0.08) 72%, transparent 100%),
        linear-gradient(180deg, rgba(10, 8, 8, 0.15) 0%, transparent 45%, rgba(10, 8, 8, 0.25) 100%);
}

/* About section visual (when no photo uploaded) */
.nl-about-visual {
    background: linear-gradient(145deg, var(--nl-maroon) 0%, #4a1515 100%);
    border-radius: var(--nl-radius);
    padding: 48px 32px;
    text-align: center;
    color: #fff;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--nl-shadow);
}
.nl-about-visual-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(217, 144, 88, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--nl-gold-light);
}
.nl-about-visual p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
}
.nl-hero-content {
    position: relative;
    z-index: 1;
    color: var(--nl-white);
    max-width: 520px;
    padding: 72px 0;
}
.nl-hero.nl-hero-has-image .nl-hero-content {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.nl-hero-content h1 {
    font-size: 48px;
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.nl-hero-content p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 28px;
}
.nl-hero-btns .btn {
    margin-right: 12px;
    margin-bottom: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}
.nl-btn-primary {
    background: var(--nl-gold);
    border-color: var(--nl-gold);
    color: var(--nl-white);
}
.nl-btn-primary:hover {
    background: var(--nl-gold-light);
    border-color: var(--nl-gold-light);
    color: var(--nl-white);
}
.nl-btn-outline {
    background: transparent;
    border: 2px solid var(--nl-white);
    color: var(--nl-white);
}
.nl-btn-outline:hover {
    background: var(--nl-white);
    color: var(--nl-text);
}

/* Sections */
.nl-section {
    padding: 72px 0;
}
.nl-section-alt {
    background: var(--nl-cream);
}
.nl-section-title {
    text-align: center;
    margin-bottom: 48px;
}
.nl-section-title h2 {
    font-size: 36px;
    color: var(--nl-heading);
    margin: 0 0 12px;
}
.nl-section-title p {
    color: var(--nl-muted);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
}
.nl-section-title .nl-divider {
    width: 60px;
    height: 3px;
    background: var(--nl-gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Stats */
.nl-stats {
    background: var(--nl-white);
    border-top: 1px solid var(--nl-border);
    border-bottom: 1px solid var(--nl-border);
    padding: 40px 0;
}
.nl-stat-item {
    text-align: center;
    padding: 16px;
    border-right: 1px solid var(--nl-border);
}
.nl-stat-item:last-child { border-right: 0; }
.nl-stat-item .nl-stat-num {
    font-size: 38px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--nl-gold);
    line-height: 1;
}
.nl-stat-item .nl-stat-label {
    font-size: 13px;
    color: var(--nl-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service cards */
.nl-service-card {
    background: var(--nl-white);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nl-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nl-shadow);
}
.nl-service-card .nl-icon {
    width: 64px;
    height: 64px;
    background: var(--nl-gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: var(--nl-gold);
}
.nl-service-card h3 {
    font-size: 18px;
    color: var(--nl-heading);
    margin: 0 0 10px;
}
.nl-service-card p {
    color: var(--nl-muted);
    font-size: 14px;
    margin: 0;
}

/* Department cards */
.nl-dept-card {
    background: var(--nl-white);
    border-radius: var(--nl-radius);
    overflow: hidden;
    box-shadow: var(--nl-shadow);
    height: 100%;
}
.nl-dept-card .nl-dept-body {
    padding: 24px;
}
.nl-dept-card h3 {
    color: var(--nl-heading);
    margin: 0 0 8px;
    font-size: 18px;
}
.nl-dept-card p {
    color: var(--nl-muted);
    font-size: 14px;
    margin: 0;
}

/* Doctor cards */
.nl-doctor-card {
    background: var(--nl-white);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 28px 20px;
    text-align: center;
    height: 100%;
}
.nl-doctor-card .nl-doctor-avatar {
    width: 90px;
    height: 90px;
    background: var(--nl-gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
    color: var(--nl-gold);
}
.nl-doctor-card h4 {
    color: var(--nl-heading);
    margin: 0 0 4px;
    font-size: 17px;
}
.nl-doctor-card .nl-specialty {
    color: var(--nl-gold);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.nl-doctor-card p {
    color: var(--nl-muted);
    font-size: 13px;
    margin: 0;
}

/* About */
.nl-about-img {
    border-radius: var(--nl-radius);
    box-shadow: var(--nl-shadow);
    width: 100%;
}
.nl-feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.nl-feature-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--nl-muted);
}
.nl-feature-list li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    color: var(--nl-gold);
}

/* CTA banner */
.nl-cta {
    background: var(--nl-gold-pale);
    border-top: 1px solid var(--nl-border);
    border-bottom: 1px solid var(--nl-border);
    color: var(--nl-text);
    padding: 56px 0;
    text-align: center;
}
.nl-cta h2 {
    margin: 0 0 12px;
    font-size: 32px;
    color: var(--nl-heading);
}
.nl-cta p {
    color: var(--nl-muted);
    margin-bottom: 24px;
}

/* Page header (inner pages) */
.nl-page-header {
    background: var(--nl-white);
    border-bottom: 3px solid var(--nl-gold);
    color: var(--nl-heading);
    padding: 40px 0;
    text-align: center;
}
.nl-page-header h1 {
    margin: 0;
    font-size: 34px;
    color: var(--nl-heading);
}
.nl-page-header .nl-breadcrumb {
    margin-top: 12px;
    font-size: 14px;
    color: var(--nl-muted);
}
.nl-page-header .nl-breadcrumb a {
    color: var(--nl-gold);
    text-decoration: none;
}

/* Inner page content */
.nl-page-content {
    padding: 56px 0;
}
.nl-page-content h2 {
    color: var(--nl-heading);
    font-size: 26px;
    margin: 32px 0 16px;
}
.nl-page-content h2:first-child { margin-top: 0; }
.nl-page-content p {
    color: var(--nl-muted);
    line-height: 1.8;
}

/* Contact */
.nl-contact-card {
    background: var(--nl-cream);
    border-radius: var(--nl-radius);
    padding: 32px;
    height: 100%;
}
.nl-contact-card h3 {
    color: var(--nl-heading);
    margin: 0 0 20px;
    font-size: 20px;
}
.nl-contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.nl-contact-item .nl-icon {
    width: 44px;
    height: 44px;
    background: var(--nl-gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nl-gold);
    flex-shrink: 0;
}
.nl-contact-item strong {
    display: block;
    color: var(--nl-text);
    font-size: 14px;
}
.nl-contact-item span, .nl-contact-item a {
    color: var(--nl-muted);
    font-size: 14px;
}

/* Form styling */
.nl-page-content .form-control {
    border-radius: 8px;
    border: 1px solid var(--nl-border);
    padding: 10px 14px;
    height: auto;
}
.nl-page-content .btn-primary {
    background: var(--nl-gold);
    border-color: var(--nl-gold);
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 600;
}
.nl-page-content .btn-primary:hover {
    background: var(--nl-gold-light);
    border-color: var(--nl-gold-light);
}

/* Footer */
.nl-footer {
    background: var(--nl-charcoal);
    color: rgba(255,255,255,0.8);
    padding: 56px 0 0;
}
.nl-footer h3 {
    color: var(--nl-white);
    font-size: 18px;
    margin: 0 0 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.nl-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nl-footer ul li {
    margin-bottom: 10px;
}
.nl-footer ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.nl-footer ul li a:hover {
    color: var(--nl-gold-light);
}
.nl-footer .nl-footer-brand img,
.nl-footer .nl-footer-logo {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 16px;
}
.nl-footer .nl-footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.75;
}
.nl-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.nl-footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nl-white);
    transition: background 0.2s;
}
.nl-footer-social a:hover {
    background: var(--nl-gold);
    color: var(--nl-white);
}
.nl-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

/* Carousel override */
#bootstrap-touch-slider .carousel-inner .item img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .nl-hero-content h1 { font-size: 36px; }
    .nl-hero { min-height: 420px; }
}
@media (max-width: 991px) {
    .nl-nav-toggle { display: flex; }
    .nl-nav-collapse {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nl-white);
        border-top: 1px solid var(--nl-border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 20px;
        gap: 12px;
    }
    .nl-nav-collapse.in,
    .nl-nav-collapse.collapsing {
        display: flex !important;
    }
    .nl-header .container { position: relative; }
    .nl-navbar { flex-wrap: wrap; min-height: 64px; }
    .nl-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
    }
    .nl-menu-item > a { padding: 12px 14px; }
    .nl-menu-item.active > a::after { display: none; }
    .nl-header-cta {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
    .nl-brand { max-width: 180px; }
    .nl-brand-wordmark { height: 36px; max-width: 100%; }
}

@media (max-width: 767px) {
    .nl-hero.nl-hero-has-image {
        min-height: 480px;
        background-position: center 35%;
    }
    .nl-hero.nl-hero-has-image::before {
        background:
            linear-gradient(180deg, rgba(18, 14, 14, 0.78) 0%, rgba(30, 24, 22, 0.5) 45%, rgba(20, 16, 14, 0.35) 100%);
    }
    .nl-hero-content { max-width: 100%; padding: 48px 0; }
    .nl-hero-content h1 { font-size: 28px; }
    .nl-hero-content p { font-size: 16px; }
    .nl-section { padding: 48px 0; }
    .nl-section-title h2 { font-size: 28px; }
    .nl-topbar { font-size: 11px; }
    .nl-topbar ul { justify-content: center; gap: 10px; }
    .nl-topbar .col-md-7 ul li:nth-child(2) { display: none; }
    .nl-stat-item { border-right: 0; border-bottom: 1px solid var(--nl-border); }
    .nl-stat-item:last-child { border-bottom: 0; }
}
