/* ============================================================
   NIPM PROFESSIONAL HOMEPAGE
============================================================ */

:root {
    --nipm-primary: #246b48;
    --nipm-primary-dark: #174c34;
    --nipm-primary-soft: #eef7f2;

    --nipm-dark: #172331;
    --nipm-dark-deep: #101923;

    --nipm-heading: #202c3a;
    --nipm-text: #606b77;
    --nipm-muted: #000;

    --nipm-border: #e6eaee;

    --nipm-bg: #f7f9fa;
    --nipm-white: #ffffff;

    --nipm-radius-sm: 12px;
    --nipm-radius: 18px;
    --nipm-radius-lg: 28px;

    --nipm-shadow:
        0 15px 45px rgba(23, 35, 49, 0.08);

    --nipm-shadow-hover:
        0 24px 60px rgba(23, 35, 49, 0.14);
}


/* ============================================================
   GENERAL
============================================================ */

html {
    scroll-behavior: smooth;
}

.nipm-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;

    font-size: 13px;
    line-height: 1;
    font-weight: 700;

    color: var(--nipm-primary);

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nipm-section-label::before {
    content: "";

    width: 25px;
    height: 2px;

    background: var(--nipm-primary);
    border-radius: 10px;
}


/* ============================================================
   HERO
============================================================ */

.nipm-hero {
    position: relative;
    background: var(--nipm-dark);
}

.nipm-hero-slide {
    position: relative;

    min-height: 690px;

    background-position: center;
    background-size: cover;
}

.nipm-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(10, 22, 18, 0.94) 0%,
            rgba(13, 31, 24, 0.82) 40%,
            rgba(10, 20, 18, 0.42) 70%,
            rgba(5, 12, 10, 0.30) 100%);
}

.nipm-hero-content {
    position: relative;

    max-width: 730px;

    padding-top: 60px;
    padding-bottom: 110px;

    z-index: 3;
}

.nipm-eyebrow {
    display: inline-flex;
    align-items: center;

    padding: 9px 16px;
    margin-bottom: 22px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.88);

    font-size: 11px;
    line-height: 1;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.12em;

    backdrop-filter: blur(12px);
}

.nipm-hero-title {
    max-width: 750px;

    margin-bottom: 22px;

    color: #fff;

    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.06;

    letter-spacing: -0.035em;
}

.nipm-hero-description {
    max-width: 650px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 19px;
    line-height: 1.7;
}

.nipm-hero-description p {
    margin-bottom: 0;
}

.nipm-hero .btn-primary {
    border-color: var(--nipm-primary);
    background: var(--nipm-primary);
}

.nipm-hero .btn-primary:hover {
    border-color: var(--nipm-primary-dark);
    background: var(--nipm-primary-dark);

    transform: translateY(-2px);
}


/* ============================================================
   TRUST BAR
============================================================ */

.nipm-trust-container {
    position: relative;

    margin-top: -66px;

    z-index: 10;
}

.nipm-trust-bar {
    overflow: hidden;

    background: #fff;

    border-radius: var(--nipm-radius);

    box-shadow:
        0 20px 60px rgba(18, 32, 27, 0.16);
}

.nipm-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;

    min-height: 130px;

    padding: 28px 30px;

    border-right: 1px solid var(--nipm-border);
}

.nipm-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: var(--nipm-primary-soft);
    color: var(--nipm-primary);

    font-size: 24px;
}

.nipm-trust-item h6 {
    margin-bottom: 4px;

    font-size: 14px;
    color: var(--nipm-heading);
}

.nipm-trust-item p {
    margin-bottom: 0;

    color: var(--nipm-muted);

    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   COURSES
============================================================ */

.nipm-courses-section {
    background:
        linear-gradient(180deg,
            #fff 0%,
            #f8faf9 100%);
}

.nipm-course-card {
    overflow: hidden;

    height: 100%;

    border: 1px solid var(--nipm-border);
    border-radius: var(--nipm-radius);

    background: var(--nipm-white);

    box-shadow:
        0 8px 30px rgba(20, 36, 29, 0.045);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.nipm-course-card:hover {
    transform: translateY(-8px);

    border-color: rgba(36, 107, 72, 0.22);

    box-shadow: var(--nipm-shadow-hover);
}


/* image */

.nipm-course-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #eef2f0;
}

.nipm-course-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;
}

.nipm-course-card:hover .nipm-course-image img {
    transform: scale(1.065);
}

.nipm-course-category {
    position: absolute;
    top: 16px;
    left: 16px;

    padding: 7px 12px;

    background: rgba(255, 255, 255, 0.95);

    border-radius: 50px;

    color: var(--nipm-primary);

    font-size: 9px;
    line-height: 1;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.07em;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    z-index: 3;
}

.nipm-course-hover {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(rgba(13, 42, 29, 0.12),
            rgba(13, 42, 29, 0.65));

    opacity: 0;

    transition: opacity 0.3s ease;
}

.nipm-course-card:hover .nipm-course-hover {
    opacity: 1;
}

.nipm-course-hover span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 10px 17px;

    border-radius: 50px;

    background: #fff;
    color: var(--nipm-heading);

    font-size: 12px;
    font-weight: 600;

    transform: translateY(8px);

    transition: transform 0.3s ease;
}

.nipm-course-card:hover .nipm-course-hover span {
    transform: translateY(0);
}


/* body */

.nipm-course-body {
    display: flex;
    flex-direction: column;

    height: calc(100% - 180px);

    padding: 24px;
}

.nipm-course-type {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 10px;

    color: var(--nipm-primary);

    font-size: 10px;
    line-height: 1;

    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.nipm-course-body h3 {
    margin-bottom: 20px;

    font-size: 17px;
    line-height: 1.45;

    letter-spacing: -0.015em;
}

.nipm-course-body h3 a {
    color: var(--nipm-heading);
}

.nipm-course-body h3 a:hover {
    color: var(--nipm-primary);
}


/* details */

.nipm-course-details {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin-top: auto;
}

.nipm-course-detail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nipm-course-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: var(--nipm-primary-soft);
    color: var(--nipm-primary);

    font-size: 15px;
}

.nipm-course-detail>div:last-child {
    display: flex;
    flex-direction: column;
}

.nipm-course-detail small {
    margin-bottom: 2px;

    color: var(--nipm-muted);

    font-size: 9px;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nipm-course-detail span {
    color: var(--nipm-heading);

    font-size: 11px;
    line-height: 1.4;

    font-weight: 600;
}


/* course footer */

.nipm-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 20px;
    padding-top: 17px;

    border-top: 1px solid var(--nipm-border);
}

.nipm-course-footer>a:first-child {
    color: var(--nipm-heading);

    font-size: 11px;
    font-weight: 600;
}

.nipm-circle-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: var(--nipm-primary-soft);
    color: var(--nipm-primary);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.nipm-course-card:hover .nipm-circle-arrow {
    background: var(--nipm-primary);
    color: #fff;

    transform: translateX(3px);
}


/* ============================================================
   TEXT LINK
============================================================ */

.nipm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--nipm-heading);

    font-size: 13px;
    font-weight: 600;
}

.nipm-text-link span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    border-radius: 50%;

    background: var(--nipm-primary);
    color: #fff;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.nipm-text-link:hover {
    color: var(--nipm-primary);
}

.nipm-text-link:hover span {
    transform: translate(3px, -3px);

    background: var(--nipm-primary-dark);
}


/* ============================================================
   DEVELOPMENT SECTION
============================================================ */

.nipm-development-section {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(135deg,
            #12251c 0%,
            #162f23 45%,
            #0e1c17 100%);
}

.nipm-development-section::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -200px;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    background: rgba(71, 153, 108, 0.12);

    filter: blur(3px);
}

.nipm-development-glow {
    position: absolute;
    bottom: -250px;
    left: -120px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(65, 136, 96, 0.08);
}

.nipm-dark-label {
    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 10px;
    line-height: 1;

    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.nipm-development-logo {
    width: 180px;
    max-height: 80px;

    margin-bottom: 25px;

    object-fit: contain;
}


/* services */

.nipm-service-card {
    overflow: hidden;

    height: 100%;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    border-radius: var(--nipm-radius);

    background: rgba(255, 255, 255, 0.07);

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.14);

    backdrop-filter: blur(10px);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.nipm-service-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(255, 255, 255, 0.2);

    background:
        rgba(255, 255, 255, 0.105);
}

.nipm-service-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 9;
}

.nipm-service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.nipm-service-card:hover img {
    transform: scale(1.06);
}

.nipm-service-number {
    position: absolute;
    right: 18px;
    bottom: 14px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 30px;
    line-height: 1;

    font-weight: 700;
}

.nipm-service-content {
    padding: 25px;
}

.nipm-service-tag {
    margin-bottom: 10px;

    color: #93c5a8;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nipm-service-content h3 {
    margin-bottom: 17px;

    font-size: 18px;
    line-height: 1.45;
}

.nipm-service-content h3 a {
    color: #fff;
}

.nipm-service-content h3 a:hover {
    color: #a9d8b9;
}

.nipm-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 21px;
}

.nipm-service-meta span {
    display: flex;
    align-items: center;
    gap: 5px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 10px;
}

.nipm-service-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #fff;

    font-size: 11px;
    font-weight: 600;
}

.nipm-service-link i {
    transition: transform 0.25s ease;
}

.nipm-service-link:hover {
    color: #a9d8b9;
}

.nipm-service-link:hover i {
    transform: translateX(4px);
}


/* ============================================================
   FEATURE / SERVICES PANEL
============================================================ */

.nipm-feature-panel {
    overflow: hidden;

    border: 1px solid var(--nipm-border);
    border-radius: var(--nipm-radius-lg);

    background: #fff;

    box-shadow: var(--nipm-shadow);
}

.nipm-feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 100%;

    padding: 70px 65px;
}

.nipm-feature-points {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.nipm-feature-points>div {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--nipm-heading);

    font-size: 15px;
    font-weight: 500;
}

.nipm-feature-points i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: var(--nipm-primary-soft);
    color: var(--nipm-primary);
}

.nipm-feature-image {
    position: relative;

    overflow: hidden;

    min-height: 520px;
    height: 100%;
}

.nipm-feature-image>img {
    width: 100%;
    height: 100%;

    position: absolute;
    inset: 0;

    object-fit: cover;
}

.nipm-feature-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(180deg,
            transparent 50%,
            rgba(12, 32, 23, 0.45) 100%);
}

.nipm-feature-floating-card {
    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 30px;

    display: flex;
    align-items: center;
    gap: 14px;

    max-width: 330px;

    padding: 18px 20px;

    border:
        1px solid rgba(255, 255, 255, 0.25);

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.92);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.14);

    backdrop-filter: blur(10px);
}

.nipm-feature-floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 45px;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: var(--nipm-primary-soft);
    color: var(--nipm-primary);

    font-size: 20px;
}

.nipm-feature-floating-card div:last-child {
    display: flex;
    flex-direction: column;
}

.nipm-feature-floating-card strong {
    color: var(--nipm-heading);

    font-size: 15px;
}

.nipm-feature-floating-card span {
    margin-top: 2px;

    color: var(--nipm-muted);

    font-size: 12px;
}


/* ============================================================
   ABOUT
============================================================ */

.nipm-about-section {
    overflow: hidden;

    background: #fff;
}

.nipm-about-image {
    position: relative;

    padding-right: 35px;
    padding-bottom: 35px;
}

.nipm-about-image>img {
    position: relative;

    width: 100%;

    border-radius: 24px;

    box-shadow:
        0 20px 50px rgba(22, 39, 31, 0.12);

    z-index: 2;
}

.nipm-about-pattern {
    position: absolute;
    right: 0;
    bottom: 0;

    width: 180px;
    height: 180px;

    border-radius: 25px;

    background:
        radial-gradient(circle,
            rgba(36, 107, 72, 0.25) 2px,
            transparent 2px);

    background-size: 16px 16px;
}

.nipm-about-badge {
    position: absolute;
    left: -25px;
    bottom: 65px;

    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 220px;

    padding: 16px 18px;

    border:
        1px solid var(--nipm-border);

    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 15px 45px rgba(22, 39, 31, 0.13);

    z-index: 4;
}

.nipm-about-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    border-radius: 50%;

    background: var(--nipm-primary-soft);
    color: var(--nipm-primary);

    font-size: 19px;
}

.nipm-about-badge>span:last-child {
    display: flex;
    flex-direction: column;
}

.nipm-about-badge small {
    color: var(--nipm-muted);

    font-size: 12px;
}

.nipm-about-badge strong {
    color: var(--nipm-heading);

    font-size: 15px;
}


/* points */

.nipm-about-point {
    display: flex;
    gap: 13px;
}

.nipm-about-point>span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border-radius: 13px;

    background: var(--nipm-primary-soft);
    color: var(--nipm-primary);

    font-size: 20px;
}

.nipm-about-point h6 {
    margin-bottom: 5px;

    font-size: 18px;
}

.nipm-about-point p {
    margin-bottom: 0;

    color: var(--nipm-muted);

    font-size: 11px;
    line-height: 1.6;
}


/* ============================================================
   FINAL CTA
============================================================ */

.nipm-final-cta {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(120deg,
            var(--nipm-primary-dark),
            var(--nipm-primary));
}

.nipm-final-cta::after {
    content: "";

    position: absolute;

    right: -100px;
    top: -170px;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    border:
        70px solid rgba(255, 255, 255, 0.05);
}

.nipm-final-cta .container {
    position: relative;

    z-index: 2;
}

.nipm-final-small {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 10px;
    line-height: 1;

    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.nipm-final-cta h2 {
    max-width: 760px;

    font-size: 27px;
    line-height: 1.35;
}


/* ============================================================
   GLOBAL BUTTON IMPROVEMENTS
============================================================ */

.btn {
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    border-color: var(--nipm-primary);
    background: var(--nipm-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--nipm-primary-dark);
    background: var(--nipm-primary-dark);
}


/* ============================================================
   SWIPER
============================================================ */

.nipm-development-section .swiper-controls .swiper-pagination-bullet,
.nipm-development-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
}

.nipm-development-section .swiper-pagination-bullet-active {
    background: #fff;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1199.98px) {

    .nipm-hero-slide {
        min-height: 630px;
    }

    .nipm-feature-content {
        padding: 55px 45px;
    }

}


@media (max-width: 991.98px) {

    .nipm-hero-slide {
        min-height: 620px;
    }

    .nipm-hero-overlay {
        background:
            linear-gradient(90deg,
                rgba(10, 25, 18, 0.92),
                rgba(10, 25, 18, 0.68));
    }

    .nipm-hero-content {
        max-width: 650px;

        padding-top: 70px;
        padding-bottom: 120px;
    }

    .nipm-trust-item {
        padding: 24px;

        border-right: none;
        border-bottom: 1px solid var(--nipm-border);
    }

    .nipm-feature-content {
        padding: 50px 40px;
    }

    .nipm-feature-image {
        min-height: 440px;
    }

    .nipm-about-image {
        margin-left: 20px;
    }

}


@media (max-width: 767.98px) {

    .nipm-hero-slide {
        min-height: 570px;
    }

    .nipm-hero-content {
        padding-top: 55px;
        padding-bottom: 90px;

        text-align: center;
    }

    .nipm-hero-title {
        font-size: 38px;
    }

    .nipm-hero-description {
        font-size: 16px;
    }

    .nipm-hero-content .d-flex {
        justify-content: center;
    }

    .nipm-trust-container {
        margin-top: -35px;
    }

    .nipm-trust-item {
        min-height: auto;
    }

    .nipm-course-body {
        height: auto;
    }

    .nipm-feature-content {
        padding: 40px 28px;
    }

    .nipm-feature-image {
        min-height: 360px;
    }

    .nipm-about-image {
        margin-left: 0;
        padding-right: 15px;
        padding-bottom: 30px;
    }

    .nipm-about-badge {
        left: 15px;
        bottom: 15px;
    }

    .nipm-final-cta {
        text-align: center;
    }

}


@media (max-width: 575.98px) {

    .nipm-hero-slide {
        min-height: 540px;
    }

    .nipm-hero-title {
        font-size: 33px;

        line-height: 1.12;
    }

    .nipm-eyebrow {
        font-size: 9px;
    }

    .nipm-hero-content .btn {
        width: 100%;
    }

    .nipm-trust-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nipm-course-card {
        border-radius: 15px;
    }

    .nipm-course-image {
        aspect-ratio: 16 / 9;
    }

    .nipm-course-body {
        padding: 20px;
    }

    .nipm-development-logo {
        width: 155px;
    }

    .nipm-service-content {
        padding: 22px;
    }

    .nipm-feature-panel {
        border-radius: 20px;
    }

    .nipm-feature-content {
        padding: 35px 23px;
    }

    .nipm-feature-image {
        min-height: 320px;
    }

    .nipm-feature-floating-card {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .nipm-about-badge {
        position: relative;

        left: auto;
        bottom: auto;

        width: calc(100% - 20px);

        margin: -35px auto 0;
    }

    .nipm-about-image {
        padding: 0;
    }

}

.bg-dark-blue {
    background-color: #002954;
    color: #fff;
}

.bg-dark-blue-theme {
    background-color: #002954;
}

.bg-light-theme {
    background-color: rgb(245 245 245) !important;
}

h2.epcc-courses {
    letter-spacing: -.02em;
    margin-bottom: 0.4em;
    line-height: 1.15em;
    font-weight: 800;
}

.width_80 {
    width: 80px;
    height: 80px;
    overflow: hidden;
    object-fit: cover;
}

a.btn.btn-theme-colored.btn-flat.btn-sm.mt-1 {
    display: inline-block;
    font-family: tradeGothic, sans-serif;
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1.2em;
    text-align: center;
    /* text-transform: uppercase; */
    text-decoration: none;
    border: 0;
    border-radius: 4px;
    transition: background-color .25s cubic-bezier(.1, .5, .5, 1);
    color: #fff;
    background-color: #007cbf;
    border: 1px solid #007cbf;
    font-size: .6rem;
    padding: 1em 1.6em;
}