.ngs-title p {
    color: var(--main-color);
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat';
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.ngs-title h5 {
    color: #222;
    font-size: 45px;
    line-height: 1.35;
}


.ngs1-1 {
    z-index: 1;
}

.ngs1-text {
    width: 88%;
    padding: 50px;
    padding-bottom: 20px;
    margin: 0 auto;
    background-color: #fff;
    margin-top: -3rem;
    z-index: 2;
}

.ngs1-text h5 {
    color: #222;
    font-size: 36px;
    margin-bottom: 2rem;
}

.ngs1-text p {
    color: #777;
    font-size: 18px;
    line-height: 1.7;
}


.ngs2 {
    background-color: #f5f5f5;
    background: url(../images/ngs2-bg.jpg) no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.ngs2-title {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.ngs2-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}

.ngs2-box-wrapper {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.ngs2-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ngs2-box-image {
    object-fit: cover;
    height: 350px;
}

.ngs2-box-text h4 {
    color: #fff;
    padding: 3px 5px;
    width: fit-content;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1rem;
    background-color: var(--epm-navy);
}

.ngs2-box-text h5 {
    color: #222;
    font-size: 22px;
}

.ngs2-box-text p {
    color: #888;
    font-size: 16px;
    line-height: 1.7;
    margin-top: 10px;
}


.ngs3-title {
    width: 100%;
}

.ngs3-table {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-spacing: 0;
}

.ngs3-table-notice {
    width: 100%;
    color: #aaa;
    font-size: 15px;
    text-align: right;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.ngs3-table thead {
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    background-color: var(--main-color);
}

.ngs3-table thead th,
.ngs3-table thead td {
    border-right: 1px solid rgba(255, 255, 255, .2);
}

.ngs3-table th,
.ngs3-table td {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.ngs3-table td {
    padding: 10px;
    font-size: 15px;
    text-align: center;
}


.ngs3-box-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.ngs3-box {
    position: relative;
    padding: 40px;
    border: 1px solid #eee;
    background-color: #f2f2f2;
}

.ngs3-box-image {
    position: absolute;
    top: 40px; right: 40px;
    width: 76px;
    height: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.ngs3-box-image img {
    height: 100%;
    filter: invert(99%) sepia(0%) saturate(5065%) hue-rotate(175deg) brightness(108%) contrast(100%);
    filter: invert(13%) sepia(7%) saturate(7043%) hue-rotate(192deg) brightness(95%) contrast(97%);
    filter: invert(37%) sepia(62%) saturate(1880%) hue-rotate(349deg) brightness(91%) contrast(98%);
}

.ngs3-box-text {
    margin-top: 5rem;
}

.ngs3-box-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ngs3-box-text h5 {
    width: 70%;
    color: var(--epm-navy);
    font-size: 32px;
    margin-bottom: 15px;
}

.ngs3-box-text li {
    color: #666;
    font-size: 16px;
}


/*==================================================*/
@media (max-width: 1050px) {
    .ngs2-title {
        position: static;
    }

    .ngs2-wrapper {
        flex-direction: column;
        justify-content: unset;
        gap: 3rem;
    }

    .ngs2-box-wrapper {
        width: 100%;
    }

    .ngs3-box-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}


@media (max-width: 768px) {
    .ngs-title h5 {
        font-size: 36px;
    }
    
    .ngs1-text {
        width: 90%;
        padding: 0;
        padding-top: 40px;
        margin-top: 0;
    }

    .ngs3-table thead,
    .ngs3-table td {
        font-size: 13px;
    }
}


@media (max-width: 550px) {
    .ngs1-1 {
        height: 200px;
        object-fit: cover;
    }
    
    .ngs1-text h5 {
        font-size: 22px;
        margin-bottom: 1.5rem;
    }

    .ngs1-text p {
        font-size: 15px;
    }

    .ngs3-table-notice {
        font-size: 12px;
    }

    .ngs3-table thead,
    .ngs3-table td {
        font-size: 11px;
    }

    .ngs3-box-wrapper {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .ngs3-box-image {
        width: 62px;
        height: 62px;
        border-radius: 15px;
    }

    .ngs3-box-text {
        margin-top: 0;
    }

    .ngs3-box-text h5 {
        width: 60%;
        font-size: 24px;
        margin-bottom: 1rem;
    }
    
    .ngs3-box-text li {
        font-size: 14px;
    }
}


@media (max-width: 450px) {
    .ngs-title p {
        font-size: 14px;
    }
    
    .ngs-title h5 {
        font-size: 30px;
    }

    .ngs2-box-wrapper {
        gap: 3rem;
    }

    .ngs2-box-image {
        height: 250px;
    }

    .ngs2-box-text h4 {
        font-size: 10px;
    }
    
    .ngs2-box-text h5 {
        font-size: 18px;
    }

    .ngs2-box-text p {
        font-size: 13px;
    }

    .ngs3-table thead,
    .ngs3-table td {
        font-size: 10px;
    }
}