﻿.nep-section {
    --nep-red: #e02020;
    --nep-red-dark: #c81818;
    --nep-black: #1a1a1a;
    --nep-gray: #6b6b6b;
    --nep-light-red: #fdeaea;
    --nep-light-bg: #f7f5f4;
    --nep-border: #ececec;
    --nep-max: 1200px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: var(--nep-black);
    padding: clamp(28px, 6vw, 70px) clamp(16px, 5vw, 40px);
    box-sizing: border-box;
    overflow-x: hidden;
}

    .nep-section * {
        box-sizing: border-box;
    }

.nep-wrap {
    max-width: var(--nep-max);
    margin: 0 auto;
}

/* ---------- Animations ---------- */
@keyframes nepFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nepFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes nepFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nep-section * {
       
        transition: none !important;
    }
}

/* ---------- Hero ---------- */
.nep-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: center;
    padding-bottom: clamp(36px, 6vw, 60px);
}

.nep-eyebrow {
    color: var(--nep-red);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    animation: nepFadeUp 0.6s ease forwards;
}

    .nep-eyebrow::after {
        content: "";
        display: block;
        width: 34px;
        height: 3px;
        background: var(--nep-red);
        margin-top: 8px;
        border-radius: 2px;
    }

.nep-heading {
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.18;
    font-weight: 800;
    margin: 0 0 16px 0;
    animation: nepFadeUp 0.7s ease 0.05s forwards;
    opacity: 0;
}

    .nep-heading span {
        color: var(--nep-red);
        display: block;
    }

.nep-hero-text {
    color: var(--nep-gray);
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.7;
    max-width: 48ch;
    margin: 0 0 26px 0;
    animation: nepFadeUp 0.7s ease 0.15s forwards;
    opacity: 0;
}

.nep-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nep-red);
    color: #fff;
    border: none;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 6px 18px rgba(224, 32, 32, 0.25);
    animation: nepFadeUp 0.7s ease 0.25s forwards;
    opacity: 0;
}

    .nep-btn:hover {
        background: var(--nep-red-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(224, 32, 32, 0.35);
    }

    .nep-btn svg {
        transition: transform 0.25s ease;
    }

    .nep-btn:hover svg {
        transform: translate(3px, -3px);
    }

.nep-hero-img-wrap {
    animation: nepFadeIn 1s ease 0.2s forwards;
    opacity: 0;
    display: flex;
    justify-content: center;
}

/* Set your hero image's width/height here. Replace the src on the img tag with your own image. */
.nep-hero-img {
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* ---------- Principles ---------- */
.nep-section-title {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 700;
    margin: 0 0 8px 0;
}

    .nep-section-title::after {
        content: "";
        display: block;
        width: 40px;
        height: 3px;
        background: var(--nep-red);
        margin: 10px auto 0;
        border-radius: 2px;
    }

.nep-principles-grid {
    margin-top: clamp(24px, 4vw, 40px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.nep-principle-card {
    border: 1px solid var(--nep-border);
    border-radius: 12px;
    padding: 22px;
    display: flex;
    gap: 14px;
    opacity: 0;
    animation: nepFadeUp 0.6s ease forwards;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .nep-principle-card:hover {
        box-shadow: 0 14px 28px rgba(0,0,0,0.07);
        transform: translateY(-5px);
    }

    .nep-principle-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .nep-principle-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .nep-principle-card:nth-child(3) {
        animation-delay: 0.15s;
    }

    .nep-principle-card:nth-child(4) {
        animation-delay: 0.2s;
    }

    .nep-principle-card:nth-child(5) {
        animation-delay: 0.25s;
    }

    .nep-principle-card:nth-child(6) {
        animation-delay: 0.3s;
    }

.nep-p-icon {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--nep-light-red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.nep-principle-card:hover .nep-p-icon {
    transform: scale(1.08) rotate(-4deg);
    background: var(--nep-red);
}

    .nep-principle-card:hover .nep-p-icon svg path,
    .nep-principle-card:hover .nep-p-icon svg circle,
    .nep-principle-card:hover .nep-p-icon svg polygon,
    .nep-principle-card:hover .nep-p-icon svg rect {
        stroke: #fff;
    }

.nep-p-text h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.nep-p-text p {
    font-size: 12.5px;
    color: var(--nep-gray);
    line-height: 1.65;
    margin: 0;
}

/* ---------- Standards ---------- */
.nep-standards {
    margin-top: clamp(32px, 5vw, 55px);
    background: var(--nep-light-bg);
    border-radius: 18px;
    padding: clamp(24px, 4vw, 44px);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(24px, 4vw, 50px);
    align-items: center;
}

    .nep-standards h3 {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 20px;
        font-weight: 700;
        margin: 0 0 22px 0;
        position: relative;
        padding-bottom: 12px;
    }

        .nep-standards h3::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 90px;
            height: 2px;
            background: var(--nep-border);
        }

.nep-standard-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nep-standard-list li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 13px 0;
        opacity: 0;
        animation: nepFadeUp 0.6s ease forwards;
    }

        .nep-standard-list li:nth-child(1) {
            animation-delay: 0.05s;
        }

        .nep-standard-list li:nth-child(2) {
            animation-delay: 0.12s;
        }

        .nep-standard-list li:nth-child(3) {
            animation-delay: 0.19s;
        }

        .nep-standard-list li:nth-child(4) {
            animation-delay: 0.26s;
        }

        .nep-standard-list li:nth-child(5) {
            animation-delay: 0.33s;
        }

.nep-check {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.8px solid var(--nep-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.nep-standard-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 3px;
}

.nep-standard-text span {
    font-size: 12.5px;
    color: var(--nep-gray);
    line-height: 1.65;
}

.nep-standards-img-wrap {
    animation: nepFadeIn 1s ease 0.15s forwards;
    opacity: 0;
}

/* Set your Editorial Policy image's width/height here. Replace the src with your own image. */
.nep-standards-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ---------- Commitment / Quote ---------- */
.nep-commit {
    margin-top: clamp(32px, 5vw, 50px);
    background: var(--nep-light-red);
    border-radius: 16px;
    padding: clamp(22px, 3vw, 34px);
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
    gap: 26px;
    opacity: 0;
    animation: nepFadeUp 0.7s ease forwards;
}

.nep-commit-icon {
    width: 160px;
    animation: nepFloat 5s ease-in-out infinite;
}

.nep-commit h5 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px 0;
    position: relative;
    padding-bottom: 10px;
}

    .nep-commit h5::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 34px;
        height: 2px;
        background: var(--nep-red);
    }

.nep-commit p {
    font-size: 13px;
    color: var(--nep-gray);
    margin: 0;
    line-height: 1.65;
}

.nep-quote {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 22px;
}

.nep-quote-mark {
    font-size: 34px;
    color: var(--nep-red);
    font-weight: 900;
    line-height: 0;
    display: block;
    margin-bottom: 6px;
}

.nep-quote p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.nep-quote span {
    font-size: 12.5px;
    color: var(--nep-gray);
    font-weight: 600;
}

/* ---------- Newsletter ---------- */
.nep-newsletter {
    margin-top: clamp(20px, 3vw, 30px);
    background: var(--nep-light-red);
    border-radius: 16px;
    padding: clamp(22px, 3vw, 34px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    opacity: 0;
    animation: nepFadeUp 0.7s ease 0.1s forwards;
}

.nep-nl-icon {
    width: 160px;
    animation: nepFloat 4.5s ease-in-out infinite;
}

.nep-newsletter h5 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.nep-newsletter p {
    font-size: 12.5px;
    color: var(--nep-gray);
    margin: 0;
    line-height: 1.6;
}

.nep-nl-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 260px;
}

.nep-nl-input-row {
    display: flex;
    gap: 10px;
}

    .nep-nl-input-row input {
        flex: 1;
        min-width: 0;
        padding: 12px 16px;
        border-radius: 8px;
        border: 1px solid var(--nep-border);
        font-size: 13px;
        outline: none;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
        background: #fff;
    }

        .nep-nl-input-row input:focus {
            border-color: var(--nep-red);
            box-shadow: 0 0 0 3px rgba(224,32,32,0.12);
        }

.nep-nl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--nep-red);
    color: #fff;
    border: none;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s ease, background 0.25s ease;
}

    .nep-nl-btn:hover {
        background: var(--nep-red-dark);
        transform: translateY(-2px);
    }

.nep-nl-note {
    font-size: 11px;
    color: var(--nep-gray);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .nep-hero {
        grid-template-columns: 1fr;
    }

    .nep-hero-img-wrap {
        order: -1;
    }

    .nep-principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nep-standards {
        grid-template-columns: 1fr;
    }

    .nep-standards-img-wrap {
        order: -1;
    }

    .nep-commit {
        grid-template-columns: auto 1fr;
    }

        .nep-commit .nep-quote {
            grid-column: 1 / -1;
        }

    .nep-newsletter {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nep-nl-icon {
        margin: 0 auto;
    }

    .nep-nl-form {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .nep-principles-grid {
        grid-template-columns: 1fr;
    }

    .nep-principle-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .nep-commit {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nep-commit-icon {
        margin: 0 auto;
    }

    .nep-nl-input-row {
        flex-direction: column;
    }

    .nep-nl-btn {
        padding: 12px 20px;
        justify-content: center;
    }
}

@media (max-width: 340px) {
    .nep-heading {
        font-size: 22px;
    }

    .nep-btn {
        width: 100%;
        justify-content: center;
    }
}
