/* ============================================================
   NM-THEME.CSS — Noble Mission Complete Design System
   Version: 1.0
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---- CSS VARIABLES ---- */
:root {
    --teal: #4DD0D6;
    --teal-dark: #33b8be;
    --teal-light: #e8fafb;
    --yellow: #FFC629;
    --yellow-dark: #e5b024;
    --dark: #1a1a2e;
    --text: #333;
    --muted: #666;
    --light: #f8f9fa;
    --white: #fff;
    --border: #e8e8e8;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

/* ---- CONTAINER ---- */
.nm-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    color: var(--dark);
}

.nm-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.nm-section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.nm-section-subtitle {
    font-size: 17px;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.nm-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.nm-section-header .nm-section-subtitle {
    margin-bottom: 0;
}

/* ---- BUTTONS ---- */
.nm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.nm-btn--primary {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}
.nm-btn--primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,198,41,0.4);
}

.nm-btn--outline {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}
.nm-btn--outline:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

.nm-btn--white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.nm-btn--white:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.nm-btn--header {
    background: var(--yellow);
    color: var(--dark);
    padding: 10px 22px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition);
    display: inline-block;
}
.nm-btn--header:hover {
    background: var(--yellow-dark);
    transform: translateY(-1px);
}

/* ============================================================
   HEADER
   ============================================================ */
.nm-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9000;
    padding: 14px 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    transition: all var(--transition);
}

/* On homepage: transparent initially */
.nm-header--transparent {
    background: transparent;
    box-shadow: none;
}

/* After scroll: always white */
.nm-header.scrolled,
.nm-header--transparent.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.nm-header__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
.nm-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nm-logo__text { display: flex; flex-direction: column; }

.nm-logo__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.1;
    color: var(--dark);
    transition: color var(--transition);
}

.nm-logo__tag {
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* On transparent header: white logo text */
.nm-header--transparent:not(.scrolled) .nm-logo__name { color: #fff; }
.nm-header--transparent:not(.scrolled) .nm-logo__tag { color: var(--yellow); }

/* Nav */
.nm-nav { margin-left: auto; }

.nm-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nm-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    border-radius: 6px;
    transition: all var(--transition);
    position: relative;
}

.nm-nav__link:hover {
    color: var(--teal);
    background: rgba(77,208,214,0.06);
}

/* Transparent header nav links */
.nm-header--transparent:not(.scrolled) .nm-nav__link { color: rgba(255,255,255,0.9); }
.nm-header--transparent:not(.scrolled) .nm-nav__link:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Active nav link */
.nm-nav__link.active { color: var(--teal); }
.nm-header--transparent:not(.scrolled) .nm-nav__link.active { color: var(--yellow); }

/* Dropdown */
.nm-nav__item--dropdown { position: relative; }

.nm-nav__chevron {
    transition: transform var(--transition);
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nm-nav__item--dropdown:hover .nm-nav__chevron { transform: rotate(180deg); }

.nm-nav__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--transition);
    z-index: 100;
    border-top: 3px solid var(--teal);
}

.nm-nav__item--dropdown:hover .nm-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nm-nav__dropdown li a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-family: 'Poppins', sans-serif;
}
.nm-nav__dropdown li a:hover {
    background: var(--teal-light);
    color: var(--teal);
    padding-left: 18px;
}

/* Header CTA */
.nm-header__cta { flex-shrink: 0; }

/* Mobile toggle */
.nm-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: 8px;
    flex-shrink: 0;
}
.nm-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}
.nm-header--transparent:not(.scrolled) .nm-mobile-toggle span { background: #fff; }
.nm-mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nm-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nm-mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nm-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 8998;
}
.nm-mobile-overlay.active { display: block; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.nm-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.nm-hero__slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.nm-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease;
}

.nm-hero__slide.active {
    opacity: 1;
    visibility: visible;
}

.nm-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.nm-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26,26,46,0.72) 0%,
        rgba(26,26,46,0.45) 60%,
        rgba(77,208,214,0.2) 100%
    );
}

.nm-hero__content-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding: 0 24px;
    padding-top: 80px;
}

.nm-hero__content { max-width: 760px; }

.nm-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 20px;
    background: rgba(255,198,41,0.15);
    padding: 6px 18px;
    border-radius: 50px;
}

.nm-hero__title {
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.nm-hero__title-accent {
    color: var(--yellow);
    font-style: italic;
}

.nm-hero__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    line-height: 1.6;
}

.nm-hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.nm-hero__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.nm-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    padding: 0;
}

.nm-hero__dot.active {
    background: var(--yellow);
    width: 24px;
    border-radius: 4px;
}

/* Prev / Next Arrow Buttons */
.nm-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    backdrop-filter: blur(4px);
}
.nm-hero__arrow:hover {
    background: rgba(255,255,255,0.32);
    transform: translateY(-50%) scale(1.08);
}
.nm-hero__arrow--prev { left: 24px; }
.nm-hero__arrow--next { right: 24px; }

/* Scroll indicator */
.nm-hero__scroll {
    position: absolute;
    bottom: 32px;
    right: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.nm-hero__scroll span {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.nm-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine {
    0% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.nm-page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.nm-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(77,208,214,0.35) 100%);
}

.nm-page-hero--teal {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f4c75 50%, #1a7a7f 100%);
}

.nm-page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.nm-page-hero__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 14px;
    background: rgba(255,198,41,0.15);
    padding: 5px 16px;
    border-radius: 50px;
}

.nm-page-hero h1 {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.nm-page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION (Homepage)
   ============================================================ */
.nm-about {
    padding: 100px 0;
    background: var(--white);
}

.nm-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.nm-about__label { margin-bottom: 12px; }

.nm-about h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.nm-about__text {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.nm-about__highlights { margin: 32px 0; display: flex; flex-direction: column; gap: 18px; }

.nm-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.nm-highlight__icon {
    width: 44px;
    height: 44px;
    background: var(--teal-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal);
}

.nm-highlight__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
    font-family: 'Poppins', sans-serif;
}

.nm-highlight__desc { font-size: 14px; color: var(--muted); }

.nm-about__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.nm-about__image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.nm-about__image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: var(--shadow);
}

.nm-about__image-badge strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--teal);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.nm-about__image-badge span { font-size: 12px; color: var(--muted); }

/* ============================================================
   TAGLINE SECTION
   ============================================================ */
.nm-tagline {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nm-tagline::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 5%;
    font-size: 300px;
    font-family: Georgia, serif;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    pointer-events: none;
}

.nm-tagline h2 {
    font-size: clamp(22px, 3.5vw, 40px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.nm-tagline p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.nm-tagline__attr {
    font-size: 14px;
    color: var(--yellow);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* ============================================================
   HOW WE HELP
   ============================================================ */
.nm-help {
    padding: 100px 0;
    background: var(--white);
}

.nm-help__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.nm-help__card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.nm-help__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.nm-help__card-img {
    height: 220px;
    overflow: hidden;
}

.nm-help__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nm-help__card:hover .nm-help__card-img img { transform: scale(1.05); }

.nm-help__card-body { padding: 28px; }

.nm-help__card-icon {
    width: 48px;
    height: 48px;
    background: var(--teal-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--teal);
}

.nm-help__card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.nm-help__card-text { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   IMPACT NUMBERS
   ============================================================ */
.nm-impact {
    background: var(--teal);
    padding: 80px 0;
    text-align: center;
}

.nm-impact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
/*     max-width: 800px; */
    margin: 0 auto;
}

.nm-stat__number {
    font-size: 60px;
    font-weight: 800;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.nm-stat__label {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.nm-stat__sublabel {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    margin-top: 2px;
}

/* ============================================================
   FACILITIES
   ============================================================ */
.nm-facilities {
    padding: 100px 0;
    background: var(--light);
}

.nm-facilities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nm-facility {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.nm-facility:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--teal);
}

.nm-facility__icon {
    width: 60px;
    height: 60px;
    background: var(--teal-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--teal);
}

.nm-facility__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
}

/* ============================================================
   FOUNDER MESSAGE
   ============================================================ */
.nm-founder {
    padding: 100px 0;
    background: var(--white);
}

.nm-founder__grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
}

.nm-founder__image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.nm-founder__image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.nm-founder__image-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--yellow);
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.nm-founder__quote-icon {
    font-size: 60px;
    color: var(--teal);
    line-height: 0.8;
    font-family: Georgia, serif;
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
}

.nm-founder__text {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 16px;
}

.nm-founder__sig {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.nm-founder__sig-name {
    font-family: 'Brush Script MT', cursive;
    font-size: 32px;
    color: var(--teal);
    display: block;
    line-height: 1.2;
}

.nm-founder__sig-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ============================================================
   PILLARS (Mission / Goal / Belief)
   ============================================================ */
.nm-pillars {
    padding: 100px 0;
    background: var(--light);
}

.nm-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nm-pillar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--border);
    transition: all var(--transition);
}

.nm-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.nm-pillar--teal { border-top-color: var(--teal); }
.nm-pillar--yellow { border-top-color: var(--yellow); }
.nm-pillar--dark { border-top-color: var(--dark); }

.nm-pillar__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.nm-pillar--teal .nm-pillar__icon { background: var(--teal-light); color: var(--teal); }
.nm-pillar--yellow .nm-pillar__icon { background: rgba(255,198,41,0.12); color: var(--yellow-dark); }
.nm-pillar--dark .nm-pillar__icon { background: rgba(26,26,46,0.08); color: var(--dark); }

.nm-pillar__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.nm-pillar__text { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   SERVICES
   ============================================================ */
.nm-services {
    padding: 100px 0;
    background: var(--white);
}

.nm-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nm-service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.nm-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--teal);
}

.nm-service-card__icon {
    width: 52px;
    height: 52px;
    background: var(--teal-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--teal);
}

.nm-service-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.nm-service-card__text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   FAQ (Homepage + FAQ Page)
   ============================================================ */
.nm-faq {
    padding: 100px 0;
    background: var(--light);
}

.nm-faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.nm-faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.nm-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    background: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    font-family: 'Poppins', sans-serif;
    transition: color var(--transition);
}

.nm-faq-trigger:hover { color: var(--teal); }
.nm-faq-trigger.active { color: var(--teal); }

.nm-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--teal);
    transition: all var(--transition);
    font-weight: 300;
}

.nm-faq-trigger.active .nm-faq-icon {
    background: var(--teal);
    color: #fff;
    transform: rotate(45deg);
}

.nm-faq-body {
    display: none;
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
}

.nm-faq-body p { padding-top: 16px; }

/* FAQ Category heading */
.nm-faq-category {
    margin: 40px 0 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nm-faq-category h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--teal-light);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.nm-cta-banner {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.nm-cta-banner h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.nm-cta-banner p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.nm-about-intro {
    padding: 100px 0;
    background: var(--white);
}

.nm-about-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.nm-about-intro__text { font-size: 16px; color: var(--muted); line-height: 1.9; }

.nm-value-cards { display: flex; flex-direction: column; gap: 16px; }

.nm-value-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--teal);
    display: flex;
    gap: 16px;
    align-items: flex-start;
	margin-bottom: 25px;
}

.nm-value-card__icon {
    width: 40px;
    height: 40px;
    background: var(--teal-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.nm-value-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.nm-value-card__text { font-size: 13px; color: var(--muted); }

/* Why section */
.nm-why {
    padding: 100px 0;
    background: var(--light);
}

.nm-why__list { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }

.nm-why-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.nm-why-item:hover {
    border-color: var(--teal);
    transform: translateX(4px);
}

.nm-why-item__num {
    width: 48px;
    height: 48px;
    background: var(--teal);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
}

.nm-why-item__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
}

/* Approach timeline */
.nm-approach {
    padding: 100px 0;
    background: var(--white);
}

.nm-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.nm-timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(32px / 2);
    right: calc(32px / 2);
    height: 2px;
    background: var(--teal-light);
    z-index: 0;
}

.nm-timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.nm-timeline-step__num {
    width: 64px;
    height: 64px;
    background: var(--white);
    border: 3px solid var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--teal);
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.nm-timeline-step__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 6px;
}

.nm-timeline-step__text { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.nm-projects-list {
    padding: 80px 0;
    background: var(--white);
}

.nm-project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
    border: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.nm-project-card:hover { box-shadow: var(--shadow-lg); }

.nm-project-card--reverse { direction: rtl; }
.nm-project-card--reverse > * { direction: ltr; }

.nm-project-card__img {
    height: 440px;
    overflow: hidden;
}

.nm-project-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nm-project-card:hover .nm-project-card__img img { transform: scale(1.04); }

.nm-project-card__body {
    padding: 50px;
    background: var(--white);
}

.nm-project-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-light);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.nm-project-card__title {
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.nm-project-card__text {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.nm-detail-about {
    padding: 90px 0;
    background: var(--white);
}

.nm-detail-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.nm-detail-about h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
}

.nm-detail-about__text {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 14px;
}

.nm-detail-services {
    padding: 90px 0;
    background: var(--light);
}

.nm-detail-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.nm-service-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.nm-service-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }

.nm-service-item__icon {
    width: 48px;
    height: 48px;
    background: var(--teal-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.nm-service-item__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.nm-service-item__text { font-size: 14px; color: var(--muted); }

.nm-detail-benefits {
    padding: 90px 0;
    background: var(--white);
}

.nm-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 700px;
    margin: 0 auto;
}

.nm-benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    transition: all var(--transition);
}

.nm-benefit-item:hover { border-color: var(--teal); background: var(--teal-light); }

.nm-benefit-item__check {
    width: 32px;
    height: 32px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* ============================================================
   IMPACT PAGE
   ============================================================ */
.nm-impact-page {
    background: var(--white);
}

.nm-impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.nm-impact-stat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--teal);
    transition: all var(--transition);
}

.nm-impact-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.nm-impact-stat__num {
    font-size: 48px;
    font-weight: 800;
    color: var(--teal);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.nm-impact-stat__label { font-size: 14px; color: var(--muted); font-weight: 500; }

.nm-impact-areas {
    padding: 100px 0;
    background: var(--light);
}

.nm-impact-areas__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.nm-impact-area {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 24px;
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.nm-impact-area:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }

.nm-impact-area__icon {
    width: 56px;
    height: 56px;
    background: var(--teal-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.nm-impact-area__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.nm-impact-area__text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.nm-contact-section {
    padding: 100px 0;
    background: var(--white);
}

.nm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
}

.nm-contact-info h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
}

.nm-contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.nm-contact-detail:last-child { border-bottom: none; }

.nm-contact-detail__icon {
    width: 44px;
    height: 44px;
    background: var(--teal-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.nm-contact-detail__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 4px;
}

.nm-contact-detail__value { font-size: 15px; color: var(--text); line-height: 1.7; }

.nm-contact-form { background: var(--light); border-radius: 20px; padding: 40px; }

.nm-contact-success {
    background: var(--teal);
    color: var(--white);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.nm-contact-success p { margin: 0; }

.nm-contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.nm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nm-form-group { margin-bottom: 18px; }

.nm-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.nm-form-group input,
.nm-form-group textarea,
.nm-form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}

.nm-form-group input:focus,
.nm-form-group textarea:focus {
    border-color: var(--teal);
}

.nm-form-group textarea { resize: vertical; min-height: 120px; }

.nm-map {
    padding: 0 0 80px;
    background: var(--white);
}

.nm-map iframe {
    width: 100%;
    height: 380px;
    border-radius: var(--radius);
    border: none;
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   BLOG / INSIGHTS
   ============================================================ */
.nm-blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    padding: 80px 0;
    background: var(--white);
    max-width: 1180px;
    margin: 0 auto;
}

.nm-blog-post {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 32px;
    transition: box-shadow var(--transition);
}

.nm-blog-post:hover { box-shadow: var(--shadow); }

.nm-blog-post__img {
    height: 280px;
    overflow: hidden;
}

.nm-blog-post__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nm-blog-post:hover .nm-blog-post__img img { transform: scale(1.03); }

.nm-blog-post__body { padding: 28px; }

.nm-blog-post__meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nm-blog-post__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.nm-blog-post__title a { color: inherit; }
.nm-blog-post__title a:hover { color: var(--teal); }

.nm-blog-post__excerpt { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }

.nm-blog-pagination {
    margin-top: 32px;
}

.nm-blog-pagination .nav-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nm-blog-pagination a,
.nm-blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--light);
    color: var(--dark);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.nm-blog-pagination a:hover {
    background: var(--teal);
    color: var(--white);
}

.nm-blog-pagination .current {
    background: var(--yellow);
    color: var(--dark);
}

.nm-post-content {
    color: var(--text);
    line-height: 1.8;
}

.nm-post-content > * + * {
    margin-top: 18px;
}

.nm-post-content h2,
.nm-post-content h3,
.nm-post-content h4 {
    margin-top: 28px;
    margin-bottom: 10px;
}

.nm-post-content ul,
.nm-post-content ol {
    padding-left: 22px;
}

.nm-post-content a {
    color: var(--teal-dark);
    text-decoration: underline;
}

.nm-post-content img {
    border-radius: var(--radius);
}

.nm-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.nm-post-navigation a {
    color: var(--teal-dark);
    font-weight: 600;
}

.nm-sidebar-widget {
    background: var(--light);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 28px;
}

.nm-sidebar-widget h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--teal);
}

/* Sidebar link list — override footer link color (footer links are white/transparent) */
.nm-sidebar-widget .nm-footer__links a {
    color: var(--muted);
}
.nm-sidebar-widget .nm-footer__links a:hover {
    color: var(--teal);
}
/* WordPress category list in sidebar */
.nm-sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nm-sidebar-widget ul li a {
    font-size: 14px;
    color: var(--muted);
    transition: color var(--transition);
    padding: 2px 0;
    display: block;
}
.nm-sidebar-widget ul li a:hover { color: var(--teal); }

/* ============================================================
   FOOTER
   ============================================================ */
.nm-footer {
    background: var(--dark);
}

.nm-footer__top {
    padding: 70px 0 50px;
}

.nm-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}

.nm-footer__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-top: 14px;
    max-width: 280px;
}

.nm-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.nm-social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}

.nm-social-btn:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

.nm-footer__heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.nm-footer__links { display: flex; flex-direction: column; gap: 8px; }

.nm-footer__links a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
    padding: 2px 0;
}

.nm-footer__links a:hover { color: var(--teal); }

.nm-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.nm-footer__contact-item span {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.nm-footer__contact-item svg { flex-shrink: 0; margin-top: 2px; }

.nm-footer__bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.nm-footer__bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.nm-scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--teal);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
    cursor: pointer;
    border: none;
}

.nm-scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nm-scroll-top:hover { background: var(--teal-dark); transform: translateY(-2px); }

/* ============================================================
   BODY PADDING (to account for fixed header)
   ============================================================ */
body:not(.home) .nm-page-hero,
body:not(.home) > section:first-of-type {
    /* inner pages don't need extra padding since page-hero has padding-top: 100px */
}

/* Push content below fixed header on non-hero pages */
.nm-page-hero { /* already has padding-top: 100px */ }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .nm-about__grid { grid-template-columns: 1fr; gap: 50px; }
    .nm-about__image { max-width: 600px; }
    .nm-founder__grid { grid-template-columns: 1fr; gap: 40px; }
    .nm-founder__image { max-width: 500px; }
    .nm-impact-stats { grid-template-columns: repeat(2, 1fr); }
    .nm-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nm-project-card { grid-template-columns: 1fr; }
    .nm-project-card--reverse { direction: ltr; }
    .nm-project-card__img { height: 300px; }
    .nm-detail-about__grid { grid-template-columns: 1fr; gap: 40px; }
    .nm-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Nav becomes mobile */
    .nm-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 80px 24px 40px;
        transition: right var(--transition);
        z-index: 8999;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        display: block !important;
    }

    .nm-nav.open { right: 0; }

    .nm-nav__list { flex-direction: column; gap: 0; }

    .nm-nav__link {
        padding: 14px 4px;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        color: var(--dark) !important;
        background: transparent !important;
        width: 100%;
    }

    .nm-nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: none;
        padding: 0 0 0 16px;
        background: var(--light);
        border-radius: 0;
        display: none;
    }

    .nm-nav__item--dropdown.open .nm-nav__dropdown { display: block; }

    .nm-mobile-toggle { display: flex; }
    .nm-header__cta { display: none; }

    /* Hero */
    .nm-hero { min-height: 500px; height: 100svh; }
    .nm-hero__title { font-size: 32px; letter-spacing: -0.5px; }
    .nm-hero__subtitle { font-size: 15px; }
    .nm-hero__eyebrow { font-size: 10px; }
    .nm-hero__actions { gap: 12px; }
    .nm-hero__scroll { display: none; }

    /* Page hero */
    .nm-page-hero { min-height: 280px; padding-top: 90px; }
    .nm-page-hero h1 { font-size: 28px; }
    .nm-page-hero p { font-size: 15px; }

    /* Sections */
    .nm-about { padding: 60px 0; }
    .nm-tagline { padding: 60px 0; }
    .nm-help { padding: 60px 0; }
    .nm-impact { padding: 60px 0; }
    .nm-facilities { padding: 60px 0; }
    .nm-founder { padding: 60px 0; }
    .nm-pillars { padding: 60px 0; }
    .nm-services { padding: 60px 0; }
    .nm-faq { padding: 60px 0; }
    .nm-cta-banner { padding: 60px 0; }

    /* Grids */
    .nm-help__grid { grid-template-columns: 1fr; gap: 20px; }
    .nm-impact__grid { grid-template-columns: 1fr; gap: 28px; }
    .nm-facilities__grid { grid-template-columns: repeat(2, 1fr); }
    .nm-pillars__grid { grid-template-columns: 1fr; gap: 16px; }
    .nm-services__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .nm-impact-stats { grid-template-columns: 1fr 1fr; }
    .nm-impact-areas__grid { grid-template-columns: 1fr; }
    .nm-detail-services__grid { grid-template-columns: 1fr; }
    .nm-about-intro__grid { grid-template-columns: 1fr; gap: 40px; }
    .nm-why__list { max-width: 100%; }
    .nm-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .nm-blog-layout { grid-template-columns: 1fr; }

    /* Typography */
    .nm-section-title { font-size: 26px; }
    .nm-section-subtitle { font-size: 15px; }
    .nm-cta-banner h2 { font-size: 26px; }

    /* Timeline: vertical on mobile */
    .nm-timeline { flex-direction: column; gap: 0; }
    .nm-timeline::before { display: none; }
    .nm-timeline-step { flex-direction: row; text-align: left; padding: 0 0 24px 0; gap: 16px; align-items: flex-start; }
    .nm-timeline-step__num { margin-bottom: 0; flex-shrink: 0; }

    /* About image */
    .nm-about__image img { height: 320px; }
    .nm-founder__image img { height: 320px; }

    /* Contact */
    .nm-contact-form { padding: 24px; }
    .nm-form-row { grid-template-columns: 1fr; }

    /* Project card */
    .nm-project-card__body { padding: 28px; }
    .nm-project-card__title { font-size: 22px; }
}

@media (max-width: 480px) {
    .nm-facilities__grid { grid-template-columns: 1fr; }
    .nm-services__grid { grid-template-columns: 1fr; }
    .nm-impact-stats { grid-template-columns: 1fr; }
    .nm-hero__title { font-size: 28px; }
    .nm-stat__number { font-size: 48px; }
    .nm-impact-stat__num { font-size: 36px; }
    .nm-section-header { margin-bottom: 36px; }
    .nm-btn { padding: 11px 22px; font-size: 12px; }
    .nm-footer__desc { max-width: 100%; }
}

/* ============================================================
   UTILITY — hide old classes that might bleed through
   ============================================================ */
.main-header { display: none !important; }
.main-footer { display: none !important; }
.scroll-to-top { display: none !important; }

/* ============================================================
   CORRECTIONS — BEM modifier classes as used in PHP templates
   ============================================================ */

/* Hero: active slide/dot via BEM modifier */
.nm-hero__slide--active { opacity: 1 !important; visibility: visible !important; }
.nm-hero__dot--active { background: var(--yellow) !important; width: 24px !important; border-radius: 4px !important; }

/* Hero content positioned inside slider */
.nm-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    max-width: 760px;
    width: 100%;
    padding: 0 24px;
    padding-top: 60px;
}

.nm-hero__accent { color: var(--yellow); font-style: italic; }

/* Highlights (about section) */
.nm-highlights { display: flex; flex-direction: column; gap: 18px; margin: 32px 0; }
.nm-highlight__body { }
.nm-highlight__body h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 3px; font-family: 'Poppins', sans-serif; }
.nm-highlight__body p { font-size: 14px; color: var(--muted); margin: 0; }

/* About image direct child img */
.nm-about__image img, .nm-about__img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

/* How we help: actual class names from template */
.nm-help__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.nm-help__image { height: 220px; overflow: hidden; }
.nm-help__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.nm-help__card:hover .nm-help__img { transform: scale(1.05); }
.nm-help__content { padding: 28px; }
.nm-help__icon { width: 56px; height: 56px; background: var(--teal-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0; }
.nm-help__title { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 10px; font-family: 'Poppins', sans-serif; }
.nm-help__card p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* Tagline actual classes */
.nm-tagline__content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.nm-tagline__heading { font-size: clamp(22px, 3.5vw, 40px); font-weight: 800; color: #fff; letter-spacing: -0.5px; margin-bottom: 16px; }
.nm-tagline__subtitle { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 20px; line-height: 1.7; }
.nm-tagline__attribution { font-size: 14px; color: var(--yellow); font-weight: 600; font-family: 'Poppins', sans-serif; }

/* Founder actual class names */
.nm-founder__grid { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center; }
.nm-founder__image-col { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.nm-founder__img { width: 100%; height: 520px; object-fit: cover; display: block; }
.nm-founder__message { }
.nm-founder__quote-icon { margin-bottom: 20px; }
.nm-founder__signature { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.nm-founder__name { font-family: 'Brush Script MT', cursive; font-size: 30px !important; color: var(--teal); line-height: 1.2; margin: 0; }
.nm-founder__role { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin: 4px 0 0; }
.nm-founder__message p { font-size: 16px; color: var(--muted); line-height: 1.9; margin-bottom: 14px; }

/* FAQ: hidden attribute + icon class */
.nm-faq-body[hidden] { display: none; }
.nm-faq-body:not([hidden]) { display: block; }
.nm-faq-trigger__icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--teal-light);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 18px; color: var(--teal);
    transition: all var(--transition); font-weight: 300;
    line-height: 1;
}
.nm-faq-trigger[aria-expanded="true"] .nm-faq-trigger__icon {
    background: var(--teal); color: #fff; transform: rotate(45deg);
}
.nm-faq-trigger[aria-expanded="true"] { color: var(--teal); }

/* Stat sublabel */
.nm-stat__sublabel { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; display: block; }

/* page-hero overlay */
.nm-page-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(77,208,214,0.35) 100%);
}
.nm-page-hero--teal-gradient { background: linear-gradient(135deg, #1a1a2e 0%, #0f4c75 50%, #1a7a7f 100%); }
.nm-page-hero__title { font-size: clamp(30px, 4vw, 52px); font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.15; }
.nm-page-hero__subtitle { font-size: 17px; color: rgba(255,255,255,0.85); }

/* Projects cards container */
.nm-projects__cards { display: flex; flex-direction: column; gap: 0; }

/* Mobile responsive corrections */
@media (max-width: 768px) {
    .nm-help__cards { grid-template-columns: 1fr; gap: 20px; }
    .nm-founder__grid { grid-template-columns: 1fr; gap: 40px; }
    .nm-founder__image-col { max-width: 350px; }
    .nm-founder__img { height: 320px; }
    .nm-hero__content { position: absolute; padding-top: 40px; }
}

/* ============================================================
   OVERLAY FIX: use explicit .nm-page-hero__overlay div instead of ::before
   ============================================================ */
.nm-page-hero::before { content: none; }

/* ============================================================
   PROJECT CARD — class name aliases (HTML uses __image/__text)
   ============================================================ */
.nm-project-card__image {
    height: 440px;
    overflow: hidden;
}
.nm-project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.nm-project-card:hover .nm-project-card__image img { transform: scale(1.04); }
.nm-project-card__text {
    padding: 50px;
    background: var(--white);
}
/* image-left = image is first child, text is second — natural order */
/* image-right = text is first child, image is second — already in HTML */
/* alt layout: grey bg for visual rhythm */
.nm-project-card--alt .nm-project-card__text { background: var(--light); }

@media (max-width: 768px) {
    .nm-project-card__image { height: 260px; }
    .nm-project-card__text { padding: 28px 20px; }
}

/* ============================================================
   MOBILE FIXES
   ============================================================ */
@media (max-width: 768px) {
    /* Hamburger: right-aligned without overflowing */
    .nm-header__inner {
        justify-content: space-between;
        overflow: hidden;
    }
    .nm-mobile-toggle {
        margin-left: 0;
        flex-shrink: 0;
    }
    .nm-nav { flex: none; }

    /* Page hero: auto height so long titles never get clipped */
    .nm-page-hero {
        height: auto !important;
        min-height: 200px !important;
        max-height: none !important;
        padding-top: 85px !important;
        padding-bottom: 28px !important;
        overflow: visible !important;
    }
    .nm-page-hero__content { position: relative; z-index: 1; }
    .nm-page-hero__title { font-size: 22px !important; line-height: 1.3 !important; margin-bottom: 8px; word-break: break-word; }
    .nm-page-hero__subtitle { font-size: 13px !important; }
    .nm-page-hero__label { display: none; }

    /* Hide slider arrows on mobile — use dots only */
    .nm-hero__arrow { display: none !important; }
}

/* ============================================================
   DETAIL EXTRA SECTIONS (Approach, Who Can Benefit, Parents)
   ============================================================ */
.nm-detail-extra {
    padding: 60px 0;
    background: var(--white);
    overflow-x: hidden;
}

.nm-detail-extra--tinted {
    background: var(--light);
}

.nm-detail-extra .nm-container {
    max-width: 800px;
}

.nm-detail-extra p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.9;
    margin-top: 0;
}

@media (max-width: 768px) {
    .nm-detail-extra {
        padding: 40px 0;
        overflow-x: hidden;
    }
    .nm-detail-extra p {
        font-size: 15px;
    }
}

/* ============================================================
   DETAIL PAGE - FEATURE LIST (Key Features right column)
   ============================================================ */
.nm-detail-about__features {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.nm-detail-about__features-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.nm-detail-about__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.nm-detail-about__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
}

.nm-detail-about__feature-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.nm-detail-about__feature-item span {
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

/* Mobile: lock all detail sections from overflowing */
@media (max-width: 768px) {
    .nm-detail-about,
    .nm-detail-services,
    .nm-detail-benefits,
    .nm-detail-about__grid,
    .nm-detail-about__features,
    .nm-detail-about__feature-list,
    .nm-detail-services__grid {
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    .nm-detail-about__feature-item {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================================
   SERVICE ITEM CARDS - MOBILE FIX
   ============================================================ */
@media (max-width: 768px) {
    .nm-service-item {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        overflow: hidden;
    }
    .nm-service-item__title {
        min-width: 0;
        max-width: 100%;
        word-break: break-word;
    }
    .nm-service-item p {
        min-width: 0;
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: break-word;
        margin: 0;
        font-size: 14px;
        color: var(--muted);
    }
}
