/* Nisarg Paryavaran — public site theme overlay */
@font-face {
    font-family: "Yatra One";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/yatra-one-devanagari.woff2") format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

@font-face {
    font-family: "Yatra One";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/yatra-one-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2018, U+2019, U+201C, U+201D;
}

@font-face {
    font-family: "Khand";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/khand-700-devanagari.woff2") format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

@font-face {
    font-family: "Khand";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/khand-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2018, U+2019, U+201C, U+201D;
}

:root {
    --np-green: #2d6a3e;
    --np-green-dark: #1e4d2b;
    --np-green-soft: #e8f3ea;
    --np-leaf: #4caf50;
    --np-gold: #c4a35a;
    --np-ink: #1c2a1f;
    --np-muted: #5b6b5e;
    --np-line: #d7e3d8;
    --np-paper: #f7faf6;
    --np-white: #fff;
    --np-shadow: 0 12px 40px rgba(30, 77, 43, 0.08);
    --np-radius: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--np-paper) !important;
    background-image: none !important;
    font-family: "Nunito", "Noto Sans Devanagari", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--np-ink);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Fraunces", "Noto Sans Devanagari", Georgia, serif;
    color: var(--np-ink);
    letter-spacing: -0.02em;
}

a {
    color: var(--np-green);
}

a:hover,
a:focus {
    color: var(--np-green-dark);
}

#boxed {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto !important;
    background: var(--np-white);
    box-shadow: none;
    padding-top: 176px;
}

.boxedcontainer {
    max-width: 100%;
}

.container {
    max-width: 1180px;
}

/* Header */
header {
    padding: 0 !important;
    background: #fff;
    box-shadow: 0 1px 0 var(--np-line);
    overflow: visible !important;
}

header.sticky #top_header {
    width: 100% !important;
    position: relative !important;
}

#top_line {
    height: auto;
    background: var(--np-green-dark);
    color: #e7f4ea;
}

#top_line .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    padding: 4px 15px;
}

.np-top-note {
    font-size: 12px;
    letter-spacing: 0.04em;
    margin: 0;
}

#top_line .np-top-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

a.np-chip,
a#link_bt {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    margin: 0;
    border-radius: 999px;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

a.np-chip:hover,
a#link_bt:hover {
    background: #fff !important;
    color: var(--np-green-dark) !important;
}

a.np-chip.is-donate,
a#link_bt.is-donate {
    background: #ef6c00;
    border-color: #ef6c00;
}

#top_header {
    width: 100% !important;
    margin: 0;
    background: transparent;
    box-shadow: none;
}

#top_header .container {
    padding: 8px 15px !important;
}

#top_header .row {
    display: flex;
    align-items: center;
}

#logo {
    margin: 0;
}

.np-brand {
    min-width: 0;
}

#logo a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    text-decoration: none !important;
}

#logo img,
#header_menu img {
    width: clamp(56px, 7vw, 92px) !important;
    max-width: 92px;
    height: auto !important;
    aspect-ratio: 1;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: left center;
    margin: 0 !important;
    position: static !important;
    float: none !important;
}

.np-logo-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
    container-type: inline-size;
    padding-top: 2px;
}

.np-logo-role {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.35em;
    row-gap: 0;
    font-family: "Khand", "Noto Sans Devanagari", sans-serif !important;
    color: #e10600;
    font-weight: 700;
    font-size: clamp(13px, 4.4cqi, 18px);
    line-height: 1.15;
    letter-spacing: 0;
    margin: 0 0 3px;
}

.np-logo-role-lead,
.np-logo-red {
    white-space: nowrap;
}

.np-logo-green {
    color: #1a7a34 !important;
}

.np-logo-red {
    color: #e10600 !important;
}

.np-logo-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: "Khand", "Noto Sans Devanagari", sans-serif !important;
    color: #1a7a34 !important;
    font-weight: 700;
    font-size: clamp(16px, 8.2cqi, 36px);
    line-height: 1.08;
    letter-spacing: 0;
    margin: 0;
    text-shadow: none;
}

.np-logo-name span {
    display: block;
    white-space: nowrap;
    font-weight: 700;
}

@media (min-width: 992px) {
    .np-brand,
    .np-nav {
        float: none !important;
        width: auto !important;
    }

    .np-brand {
        flex: 1 1 auto;
        max-width: none;
    }

    .np-nav {
        flex: 0 0 auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #logo img {
        width: clamp(60px, 6.5vw, 76px) !important;
        max-width: 76px;
        height: auto !important;
        flex-basis: auto;
    }

    .main-menu > ul > li > a {
        padding: 18px 8px !important;
        font-size: 12px !important;
    }
}

nav {
    margin-top: 0 !important;
}

.main-menu {
    float: none;
}

.main-menu > ul > li > a {
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.04em;
    color: var(--np-ink) !important;
    padding: 18px 11px !important;
}

.main-menu > ul > li:hover > a {
    color: var(--np-green) !important;
}

.main-menu ul ul {
    border-top: 3px solid var(--np-green) !important;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    min-width: 230px;
}

.main-menu ul ul:before {
    border-bottom-color: var(--np-green) !important;
}

.main-menu ul ul li a {
    text-transform: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: var(--np-ink) !important;
    padding: 11px 16px !important;
}

.main-title,
.main_title h2 {
    color: var(--np-green-dark) !important;
    text-transform: none !important;
    letter-spacing: -0.03em;
    font-size: 34px !important;
    line-height: 1.25;
}

.main_title p {
    font-family: "Nunito", "Noto Sans Devanagari", sans-serif;
    color: var(--np-green);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main_title span {
    background: var(--np-leaf);
    width: 48px;
    height: 3px;
    margin-left: 0;
}

a.btn_1,
.btn_1,
.btn.btn-primary {
    background: var(--np-green) !important;
    border: 0;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 10px 22px !important;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 18px rgba(45, 106, 62, 0.18);
}

a.btn_1:hover,
.btn_1:hover,
.btn.btn-primary:hover {
    background: var(--np-green-dark) !important;
}

/* Page heroes */
.sub_header {
    min-height: 320px !important;
}

.sub_header_content {
    height: 320px !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.sub_header_content:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 42, 24, 0.35) 0%, rgba(14, 42, 24, 0.72) 100%);
}

.sub_header_content > div {
    position: relative;
    z-index: 1;
    padding: 0 8% !important;
}

.sub_header_content div h1 {
    font-size: 42px !important;
    text-transform: none !important;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.sub_header_content div h1:before,
.sub_header_content div h1:after {
    display: none;
}

.sub_header_content div h4 {
    color: #e5f6e8 !important;
    font-family: "Noto Sans Devanagari", "Nunito", sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-top: 8px;
}

#position {
    background: var(--np-green-soft);
    border-bottom: 1px solid var(--np-line);
    padding: 12px 0 !important;
}

#position ul {
    margin: 0;
}

#position ul li,
#position ul li a {
    color: var(--np-green-dark);
    font-size: 13px;
    font-weight: 700;
}

/* Home intro */
.np-section {
    padding: 56px 0;
}

.np-kicker {
    color: var(--np-green);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 8px;
}

.np-lead {
    font-size: 17px;
    color: var(--np-muted);
    text-align: justify;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--np-radius);
    overflow: hidden;
    box-shadow: var(--np-shadow);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.np-card {
    background: #fff;
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    padding: 26px 24px 18px;
    height: 100%;
    box-shadow: var(--np-shadow);
}

.np-card h2,
.box_home h2 {
    font-size: 26px !important;
    color: var(--np-green-dark) !important;
    margin-top: 0;
}

.np-values {
    background: linear-gradient(180deg, #f3f8f2 0%, #fff 100%);
}

.np-cta {
    background: var(--np-green-dark);
    color: #fff;
}

.np-cta h3 {
    color: #fff !important;
    font-size: 36px !important;
    font-family: "Fraunces", serif;
}

.np-cta p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
}

.features-bg {
    min-height: 360px;
}

.features-content {
    height: auto !important;
    min-height: 360px;
    padding: 72px 56px !important;
    background: linear-gradient(135deg, rgba(30, 77, 43, 0.92), rgba(45, 106, 62, 0.78)) !important;
}

.features-content h3 {
    font-family: "Fraunces", serif !important;
    color: #fff !important;
}

.np-cta-photo {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* Work cards */
.box_cat {
    border-radius: var(--np-radius);
    overflow: hidden;
    box-shadow: var(--np-shadow);
}

.box_cat h2 {
    font-size: 22px;
}

/* Activity filters + galleries */
#position .btn-group {
    display: block;
    width: 100%;
}

#gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: stretch;
    width: 100%;
    background: #fff;
    border: 1px solid var(--np-line);
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0 6px;
    box-shadow: var(--np-shadow);
}

#gallery input[type="hidden"] {
    display: none;
}

#gallery input[type="text"] {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    border: 1px solid var(--np-line) !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
}

#gallery .btn,
#gallery button {
    flex: 1 1 0;
    height: 44px;
    width: auto !important;
    white-space: nowrap;
}

.magnific-gallery .col-md-3 {
    margin-bottom: 18px;
}

.magnific-gallery img.styled,
img.styled {
    border-radius: 12px;
    box-shadow: none !important;
    border: 1px solid var(--np-line);
}

.cms-page-body img,
.container.margin_60 img.img-responsive {
    border-radius: 12px;
}

.form-control {
    height: 44px;
    border-radius: 10px;
    border-color: var(--np-line);
    box-shadow: none;
}

textarea.form-control {
    height: auto;
    min-height: 140px;
}

/* Donate facts */
.np-donate-list {
    background: #fff;
    border: 1px solid var(--np-line);
    border-radius: var(--np-radius);
    padding: 8px 28px 8px;
    box-shadow: var(--np-shadow);
}

.np-donate-list p,
.np-donate-list li {
    font-size: 16px;
    color: var(--np-ink) !important;
}

/* Footer */
footer {
    background: #14321c url(../img/footer_bg.png) repeat-x center bottom;
    padding: 48px 0 16px;
}

footer h3 {
    font-family: "Fraunces", serif;
    font-size: 18px;
    margin-bottom: 16px;
}

footer a {
    color: #d7ecc9 !important;
}

footer a:hover {
    color: #fff !important;
}

footer ul li {
    margin-bottom: 7px;
}

.np-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff !important;
}

.np-social a:hover {
    background: #fff;
    color: var(--np-green-dark) !important;
}

.np-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 16px;
    padding-top: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

#toTop {
    background: var(--np-green) !important;
    border-radius: 50%;
}

@media (max-width: 991px) {
    #boxed {
        padding-top: 132px;
    }

    #top_line {
        display: block !important;
    }

    .np-top-note {
        display: none;
    }

    #logo a {
        padding-right: 8px;
        gap: 8px;
    }

    #logo img,
    #header_menu img {
        width: clamp(52px, 14vw, 64px) !important;
        height: auto !important;
        max-width: 64px;
        flex-basis: auto;
    }

    #header_menu {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        text-align: left;
    }

    .sub_header,
    .sub_header_content {
        min-height: 240px !important;
        height: 240px !important;
    }

    .sub_header_content div h1 {
        font-size: 28px !important;
    }

    .features-content {
        padding: 40px 24px !important;
        min-height: auto;
    }

    .np-cta-photo {
        height: 240px;
    }

    #gallery {
        flex-wrap: wrap;
    }

    #gallery input[type="text"],
    #gallery .btn,
    #gallery button {
        flex: 1 1 100%;
        width: 100% !important;
    }

    header,
    #top_header,
    #top_header .container,
    #top_header .row,
    header nav {
        overflow: visible !important;
    }

    header.sticky #top_header {
        position: relative !important;
        top: auto !important;
    }

    header.sticky #top_line {
        height: auto !important;
        overflow: visible !important;
        opacity: 1 !important;
    }

    .cmn-toggle-switch {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        right: 8px !important;
        width: 44px !important;
        height: 44px !important;
        margin-top: -22px !important;
        z-index: 30;
    }

    header {
        z-index: 100060 !important;
    }

    .layer {
        z-index: 100050 !important;
        pointer-events: none;
    }

    .layer-is-visible {
        pointer-events: auto;
    }

    .main-menu {
        position: fixed !important;
        top: 0 !important;
        left: -110% !important;
        bottom: 0 !important;
        width: 84% !important;
        max-width: 360px;
        height: 100vh !important;
        height: 100dvh !important;
        opacity: 0;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        float: none !important;
        z-index: 2 !important;
        background: #fff !important;
        padding: 12px 0 40px;
        -webkit-overflow-scrolling: touch;
        pointer-events: auto !important;
    }

    .main-menu.show {
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .main-menu > ul,
    .main-menu > ul > li {
        display: block !important;
        float: none !important;
        width: 100% !important;
        position: relative !important;
    }

    .main-menu > ul > li > a {
        padding: 14px 18px !important;
        display: block !important;
        pointer-events: auto !important;
    }

    .main-menu ul ul {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        display: none !important;
        visibility: hidden;
        pointer-events: auto !important;
    }

    .main-menu a.show-submenu + ul.show_normal,
    .main-menu ul li.submenu ul.show_normal {
        display: block !important;
        visibility: visible !important;
    }

    a#close_in {
        display: block !important;
        position: absolute !important;
        right: 16px;
        top: 16px;
        z-index: 2;
        width: 28px;
        height: 28px;
        pointer-events: auto !important;
    }

    body.np-menu-open {
        overflow: hidden !important;
    }
}
