/* =========================================================
   NGO Logo & Graphics page — sab kuch .ngd ke andar scoped hai,
   taaki site ki main style.css se takraav na ho.
   ========================================================= */
.ngd {
    --purple: #6e31e6;
    --purple-dark: #4a1fb0;
    --purple-soft: #F1EBFE;
    --orange: #f6790e;
    --orange-dark: #c95c00;
    --green: #16a34a;
    --heading: #2E2F46;
    --text: #494A60;
    --muted: #6b6c80;
    --soft: #F4F8FC;
    --line: #E6EDF6;
    --radius: 18px;
    font-family: "Poppins", sans-serif;
    color: var(--text);
    overflow-x: hidden;
}

.ngd *,
.ngd *::before,
.ngd *::after {
    box-sizing: border-box;
}

.ngd img {
    display: block;
    max-width: 100%;
}

.ngd a {
    display: inline;
}

.ngd p {
    margin: 0;
}

.ngd h1,
.ngd h2,
.ngd h3,
.ngd h4 {
    margin: 0;
    color: var(--heading);
    font-family: "Poppins", sans-serif;
}

.ngd :focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 6px;
}

.ngd-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ngd-section {
    padding: 90px 0;
}

.ngd-soft {
    background: var(--soft);
}

.ngd-head {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.ngd-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.ngd-head p {
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.7;
}

.ngd-head-split {
    max-width: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.ngd-head-split>div:first-child {
    max-width: 620px;
}

/* ---------- buttons ---------- */
.ngd .ngd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
    text-decoration: none;
}

.ngd .ngd-btn-primary {
    background: var(--orange);
    color: #fff;
}

.ngd .ngd-btn-primary:hover {
    background: var(--orange-dark);
    color: #fff;
}

.ngd .ngd-btn-ghost {
    border-color: var(--heading);
    color: var(--heading);
    background: transparent;
}

.ngd .ngd-btn-ghost:hover {
    background: var(--heading);
    color: #fff;
}

.ngd .ngd-btn-line {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.ngd .ngd-btn-line:hover {
    background: #fff;
    color: var(--heading);
}

.ngd .ngd-btn-block {
    width: 100%;
}

/* ================= HERO ================= */
.ngd-hero {
    padding: 80px 0 90px;
    background-color: var(--purple-soft);
    background-image: radial-gradient(rgba(110, 49, 230, .14) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}

.ngd-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.ngd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--purple);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 20px !important;
}

.ngd-hero h1 {
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.12;
    font-weight: 700;
}

.ngd-lead {
    margin-top: 20px !important;
    font-size: 18px;
    line-height: 1.75;
    max-width: 54ch;
}

.ngd-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.ngd-ticks {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 15px;
    color: var(--heading);
    font-weight: 500;
}

.ngd-ticks li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ngd-ticks i {
    color: var(--green);
    font-size: 18px;
}

/* live post preview */
.ngd-preview {
    position: relative;
    max-width: 440px;
    width: 100%;
    justify-self: center;
}

.ngd-preview::before {
    content: "";
    position: absolute;
    inset: 70px -18px -18px 18px;
    background: var(--orange);
    border-radius: 24px;
    transform: rotate(3deg);
}

.ngd-preview-tabs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ngd-preview-tabs button {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid #cdbdf5;
    background: #fff;
    color: var(--heading);
    font: 500 14px "Poppins", sans-serif;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.ngd-preview-tabs button[aria-selected="true"] {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}

.ngd-post {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 50px -20px rgba(46, 47, 70, .35);
}

.ngd-post-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}

.ngd-post-head b {
    display: block;
    font-size: 14px;
    color: var(--heading);
    line-height: 1.2;
}

.ngd-post-head small {
    font-size: 12px;
    color: var(--muted);
}

.ngd-post-head>i {
    margin-left: auto;
    font-size: 20px;
    color: var(--heading);
}

.ngd-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.ngd-avatar svg {
    width: 100%;
    height: 100%;
}

.ngd-post-foot {
    padding: 12px 14px 16px;
}

.ngd-post-icons {
    display: flex;
    gap: 16px;
    font-size: 22px;
    color: var(--heading);
}

.ngd-post-icons .ngd-push {
    margin-left: auto;
}

.ngd-post-foot p {
    margin-top: 8px !important;
    font-size: 14px;
    line-height: 1.55;
    color: var(--heading);
}

/* ================= ARTWORK (shared by hero preview + gallery) ================= */
.ngd-art {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #ddd;
}

.ngd-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ngd-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 7%;
    color: #fff;
}

.ngd-layer .ngd-tag {
    align-self: flex-start;
    background: #fff;
    color: var(--purple);
    font-weight: 600;
    font-size: clamp(10px, 2.4cqw, 13px);
    line-height: 1;
    padding: 6px 11px;
    border-radius: 999px;
}

.ngd-layer h4 {
    color: inherit;
    font-weight: 700;
    font-size: clamp(20px, 6.4cqw, 34px);
    line-height: 1.08;
}

.ngd-layer .ngd-sub {
    margin-top: 6px;
    font-size: clamp(11px, 3.4cqw, 15px);
    line-height: 1.35;
    color: #fff;
}

.ngd-layer .ngd-strip {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: clamp(9px, 2.8cqw, 12px);
    font-weight: 600;
}

.ngd-art {
    container-type: inline-size;
}

/* layout: purple band at the bottom */
.ngd-l-band {
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(46, 23, 110, 0) 30%, rgba(46, 23, 110, .94) 75%);
}

.ngd-l-band .ngd-tag {
    position: absolute;
    top: 7%;
    left: 7%;
}

.ngd-l-band .ngd-strip {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .35);
}

.ngd-l-band .ngd-btn-mini {
    background: var(--orange);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
}

/* layout: orange frame with a caption block */
.ngd-l-frame {
    border: 4cqw solid var(--orange);
    justify-content: flex-end;
    padding: 0;
}

.ngd-l-frame .ngd-tag {
    position: absolute;
    top: 5%;
    left: 5%;
}

.ngd-l-frame .ngd-box {
    background: var(--orange);
    padding: 5% 6% 3%;
}

.ngd-l-frame .ngd-strip {
    margin-top: 8px;
}

/* layout: split panel */
.ngd-l-split {
    flex-direction: row;
    padding: 0;
}

.ngd-l-split .ngd-side {
    width: 50%;
    margin-left: auto;
    background: var(--green);
    padding: 7%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ngd-l-split .ngd-tag {
    color: var(--green);
    margin-bottom: auto;
}

/* layout: festive (centered, dark purple wash) */
.ngd-l-fest {
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(40, 18, 96, .62);
}

.ngd-l-fest .ngd-tag {
    background: #FFCA40;
    color: #2E2F46;
}

.ngd-l-fest h4 {
    margin-top: 10px;
    font-size: clamp(24px, 9cqw, 44px);
}

.ngd-l-fest .ngd-strip {
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: 6%;
}

/* ================= TWO SERVICES ================= */
.ngd-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ngd-duo-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    background: #fff;
}

.ngd-duo-ic {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 12%, #fff);
    margin-bottom: 20px;
}

.ngd-duo-card h3 {
    font-size: 24px;
    font-weight: 700;
}

.ngd-duo-card>p {
    margin-top: 10px;
    line-height: 1.7;
}

.ngd-duo-card ul {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 10px;
}

.ngd-duo-card li {
    display: flex;
    gap: 10px;
    color: var(--heading);
    font-size: 15px;
    line-height: 1.5;
}

.ngd-duo-card li i {
    color: var(--green);
    font-size: 18px;
    line-height: 1.3;
}

/* ================= LOGO SAMPLES ================= */
.ngd-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ngd-logo {
    margin: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}

.ngd-logo-mark {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--line);
}

.ngd-logo-mark svg {
    width: 38%;
    height: auto;
    transition: transform .35s ease;
}

.ngd-logo:hover .ngd-logo-mark svg {
    transform: scale(1.08);
}

.ngd-logo figcaption {
    padding: 16px 20px;
}

.ngd-logo figcaption b {
    display: block;
    color: var(--heading);
    font-size: 18px;
    font-weight: 700;
}

.ngd-logo figcaption span {
    font-size: 14px;
    color: var(--muted);
}

/* ================= GALLERY ================= */
.ngd-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ngd-filters button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--heading);
    font: 500 15px "Poppins", sans-serif;
    cursor: pointer;
}

.ngd-filters button[aria-pressed="true"] {
    background: var(--heading);
    border-color: var(--heading);
    color: #fff;
}

.ngd-gallery {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ngd-card {
    border: 0;
    padding: 0;
    background: none;
    text-align: left;
    cursor: zoom-in;
    font-family: inherit;
    width: 100%;
}

.ngd-card .ngd-art {
    border-radius: 14px;
}

.ngd-card-cap {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
}

.ngd-card-cap b {
    color: var(--heading);
    font-weight: 600;
}

.ngd-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--muted);
}

/* lightbox */
.ngd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 16, 40, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ngd-lightbox[hidden] {
    display: none;
}

.ngd-lb-inner {
    width: min(600px, 100%);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ngd-lb-inner .ngd-art {
    border-radius: 14px;
}

.ngd-lb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    font-weight: 600;
}

.ngd-lb-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4);
    background: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ngd-lb-btn:hover {
    border-color: #fff;
}

.ngd-lb-close {
    position: absolute;
    top: 18px;
    right: 18px;
}

/* ================= PLANS ================= */
.ngd-dark {
    background: #1f1b3a;
}

.ngd-dark .ngd-head h2 {
    color: #fff;
}

.ngd-dark .ngd-head p {
    color: #c9c6dd;
}

.ngd-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.ngd-plan {
    border: 1px solid #3a3560;
    border-radius: var(--radius);
    padding: 34px;
    display: flex;
    flex-direction: column;
    color: #e6e4f2;
}

.ngd-plan h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.ngd-plan-for {
    margin-top: 6px !important;
    color: #c9c6dd;
    font-size: 15px;
}

.ngd-price {
    margin: 22px 0;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.ngd-price small {
    font-size: 16px;
    font-weight: 500;
    color: #c9c6dd;
}

.ngd-plan ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 10px;
    font-size: 15px;
}

.ngd-plan li {
    display: flex;
    gap: 8px;
}

.ngd-plan li i {
    color: #36CC72;
}

.ngd-plan .ngd-btn {
    margin-top: auto;
}

.ngd-plan-main {
    background: var(--purple);
    border-color: var(--purple);
}

.ngd-plan-main .ngd-plan-for,
.ngd-plan-main .ngd-price small {
    color: #e8defd;
}

.ngd-plan-main li i {
    color: #FFCA40;
}

.ngd-plan-tag {
    align-self: flex-start;
    background: #FFCA40;
    color: var(--heading);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px !important;
}

/* ================= PROCESS ================= */
.ngd-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    counter-reset: step;
}

.ngd-steps li {
    counter-increment: step;
    position: relative;
    padding-top: 64px;
}

.ngd-steps li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ngd-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    left: 58px;
    right: -12px;
    border-top: 2px dashed #cdbdf5;
}

.ngd-steps h3 {
    font-size: 19px;
    font-weight: 600;
}

.ngd-steps p {
    margin-top: 8px !important;
    font-size: 15px;
    line-height: 1.65;
}

/* ================= FAQ ================= */
.ngd-faq {
    max-width: 860px;
}

.ngd-faq h2 {
    text-align: center;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    margin-bottom: 36px;
}

.ngd-faq-list {
    display: grid;
    gap: 12px;
}

.ngd-faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 22px;
}

.ngd-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 32px 20px 0;
    position: relative;
    font-weight: 600;
    color: var(--heading);
    font-size: 17px;
}

.ngd-faq summary::-webkit-details-marker {
    display: none;
}

.ngd-faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 400;
    color: var(--purple);
}

.ngd-faq details[open] summary::after {
    content: "−";
}

.ngd-faq details p {
    padding-bottom: 20px;
    line-height: 1.75;
}

.ngd-faq details a {
    color: var(--purple);
    text-decoration: underline;
}

/* ================= ENQUIRY ================= */
.ngd-cta {
    background: var(--purple);
}

.ngd-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.ngd-cta-copy h2 {
    color: #fff;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.ngd-cta-copy>p {
    color: #e8defd;
    margin-top: 14px !important;
    font-size: 17px;
    line-height: 1.7;
}

.ngd-contact {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
    color: #fff;
}

.ngd-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ngd-contact i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ngd-contact a {
    color: #fff;
}

.ngd-contact a:hover {
    color: #FFCA40;
}

.ngd-form {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: grid;
    gap: 16px;
}

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

.ngd-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
}

.ngd-form input,
.ngd-form select,
.ngd-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1.5px solid #d6dbe6;
    border-radius: 10px;
    font: 400 15px "Poppins", sans-serif;
    color: var(--heading);
    background: #fff;
}

.ngd-form textarea {
    min-height: 96px;
    resize: vertical;
}

.ngd-form input:focus,
.ngd-form select:focus,
.ngd-form textarea:focus {
    border-color: var(--purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 49, 230, .15);
}

.ngd-form .ngd-invalid {
    border-color: #d92d20;
}

.ngd-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ngd-form-msg {
    min-height: 1.4em;
    font-size: 14px;
    font-weight: 500;
}

.ngd-form-msg.is-error {
    color: #d92d20;
}

.ngd-form-msg.is-ok {
    color: var(--green);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {

    .ngd-hero-grid,
    .ngd-cta-grid,
    .ngd-duo {
        grid-template-columns: 1fr;
    }

    .ngd-hero {
        padding: 56px 0 72px;
    }

    .ngd-preview {
        max-width: 420px;
    }

    .ngd-logos,
    .ngd-gallery,
    .ngd-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ngd-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ngd-steps li::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .ngd-section {
        padding: 64px 0;
    }

    .ngd-logos,
    .ngd-gallery,
    .ngd-plans,
    .ngd-steps,
    .ngd-row {
        grid-template-columns: 1fr;
    }

    .ngd-duo-card,
    .ngd-plan,
    .ngd-form {
        padding: 24px;
    }

    .ngd-preview::before {
        inset: 70px -8px -10px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ngd *,
    .ngd *::before,
    .ngd *::after {
        transition: none !important;
        animation: none !important;
    }
}