/* ============================================================
   NWE – Brand Stylesheet
   Palette: Navy #1a2744 | Yellow #f5c518 | Light-grey #f4f6f9
   ============================================================ */

:root {
    --nwe-navy:  #000;
    --nwe-yellow: #f5c518;
    --nwe-yellow-dark: #d4aa10;
    --nwe-grey:  #111;
    --nwe-text:  #fff;
}

/* ============================================================
   PAGE HEADER BRAND (logo + heading, used in page hero sections)
   ============================================================ */
.page-header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-align: center;
}

.page-header-logo {
    height: 160px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.page-header-text {
    text-align: center;
}

@media (max-width: 575.98px) {
    .page-header-brand {
        justify-content: center;
        text-align: center;
    }

    .page-header-text {
        text-align: center;
    }
}


html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--nwe-text);
    background-color: #000;
}

.form-control,
.form-select {
    color: #fff;
    background-color: #151515;
    border-color: rgba(255,255,255,.35);
}

.form-control::placeholder {
    color: rgba(255,255,255,.6);
}

.text-muted {
    color: rgba(255,255,255,.65) !important;
}

/* ── Focus rings ── */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(245,197,24,.45);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nwe-navbar {
    background-color: #000 !important;
    padding: .75rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.nwe-navbar .navbar-brand {
    color: var(--nwe-yellow) !important;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nwe-navbar .navbar-brand i {
    font-size: 1.6rem;
}

.nwe-navbar .nav-link {
    color: rgba(255,255,255,.88) !important;
    font-weight: 500;
    padding: .4rem .9rem !important;
    border-radius: 4px;
    transition: background .2s, color .2s;
}

.nwe-navbar .nav-link:hover,
.nwe-navbar .nav-link.active {
    color: var(--nwe-yellow) !important;
    background-color: rgba(255,255,255,.08);
}

.nwe-navbar .navbar-toggler {
    border-color: rgba(255,255,255,.3);
}

.nwe-navbar .navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 991.98px) {
    .nwe-navbar .navbar-collapse {
        text-align: right;
    }

    .nwe-navbar .navbar-nav {
        align-items: flex-end;
    }
}

/* ── Top contact bar ── */
.nwe-topbar {
    background-color: var(--nwe-yellow);
    color: var(--nwe-navy);
    font-size: .82rem;
    font-weight: 600;
    padding: .3rem 0;
}

.nwe-topbar a {
    color: var(--nwe-navy);
    text-decoration: none;
}

.nwe-topbar a:hover { text-decoration: underline; }

/* ============================================================
   HERO
   ============================================================ */
.nwe-hero {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.nwe-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(245,197,24,.18) 0%, transparent 70%);
    border-radius: 50%;
}

.nwe-hero-slideshow {
    background: var(--nwe-navy);
}

.nwe-hero-slideshow-images {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.nwe-hero-slideshow-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    filter: grayscale(35%) brightness(.91);
    transition: opacity 1.2s ease-in-out;
}

.nwe-hero-slideshow-image.active {
    opacity: 1;
}

.nwe-hero-slideshow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,25,58,.68) 55%, rgba(37,53,100,.58) 100%);
    z-index: 1;
}

.nwe-hero-slideshow .container {
    position: relative;
    z-index: 2;
}

.nwe-banner-header {
    padding: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nwe-banner-header-logo {
    height: 90px;
    width: auto;
    background: #fff;
    padding: .4rem;
    border-radius: 8px;
}

.nwe-banner-header-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--nwe-yellow);
    margin-bottom: 1.5rem;
}

.nwe-banner-header-cta {
    font-weight: 700;
}

.nwe-banner-footer-row {
    padding-bottom: 1.5rem;
}

.nwe-banner-header-contact {
    font-size: 1.05rem;
    color: #fff;
}

.nwe-banner-header-contact a {
    color: #fff;
    text-decoration: none;
}

.nwe-banner-header-contact a:hover {
    color: var(--nwe-yellow);
}

.nwe-banner-header-contact-dot {
    color: var(--nwe-yellow);
    margin: 0 .6rem;
}

.nwe-banner-header-contact-photo {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    border: 2px solid rgba(255,255,255,.25);
}

.nwe-hero .badge-pill {
    background-color: var(--nwe-yellow);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: .4em .9em;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

.nwe-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.nwe-hero h1 span { color: var(--nwe-yellow); }

.nwe-hero p.lead {
    font-size: 1.15rem;
    opacity: .9;
    max-width: 540px;
    margin-bottom: 2rem;
}

.nwe-hero .btn-yellow {
    background-color: var(--nwe-yellow);
    color: var(--nwe-navy);
    border: none;
    font-weight: 700;
    padding: .75rem 2rem;
    border-radius: 6px;
    transition: background .2s, transform .15s;
}

.nwe-hero .btn-yellow:hover {
    background-color: var(--nwe-yellow-dark);
    transform: translateY(-2px);
}

.nwe-hero .btn-outline-light {
    font-weight: 600;
    padding: .73rem 1.8rem;
    border-radius: 6px;
}

.nwe-hero-stats {
    margin-top: 3rem;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.nwe-hero-stats .stat-item strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--nwe-yellow);
    line-height: 1;
}

.nwe-hero-stats .stat-item strong .counter-value {
    font-size: inherit;
}

.nwe-hero-stats .stat-item span {
    font-size: .8rem;
    opacity: .75;
    text-transform: uppercase;
    letter-spacing: .6px;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading .overline {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--nwe-yellow-dark);
    margin-bottom: .5rem;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--nwe-navy);
    margin-bottom: .6rem;
}

.section-heading p {
    color: rgba(255,255,255,.75);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.nwe-services { background-color: var(--nwe-grey); padding: 80px 0; }

.service-card {
    background: #151515;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 2rem 1.6rem;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    transition: transform .25s, box-shadow .25s;
    border-top: 4px solid #fff;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(26,39,68,.15);
}

.service-card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.2rem;
}

.service-card .icon-wrap {
    width: 56px; height: 56px;
    background-color: rgba(245,197,24,.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.service-card .icon-wrap i {
    font-size: 1.6rem;
    color: #fff;
}

.service-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .6rem;
}

.service-card p {
    color: rgba(255,255,255,.75);
    font-size: .93rem;
    flex-grow: 1;
}

.service-card .btn-link-arrow {
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: gap .2s;
}

.service-card .btn-link-arrow:hover { gap: .65rem; color: var(--nwe-yellow-dark); }

/* ============================================================
   WHY CHOOSE US / FEATURES STRIP
   ============================================================ */
.nwe-features {
    padding: 70px 0;
    background: #000;
}

.feature-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.feature-item i {
    font-size: 2.4rem;
    color: var(--nwe-yellow-dark);
    margin-bottom: 1rem;
}

.feature-item h5 {
    font-weight: 700;
    color: #fff;
    margin-bottom: .4rem;
}

.feature-item p { color: rgba(255,255,255,.75); font-size: .9rem; }

.review-card {
    background: #151515;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 1.75rem;
}

.review-stars {
    color: #f5c518;
    font-size: 1.25rem;
    letter-spacing: .15rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.review-card p {
    color: rgba(255,255,255,.8);
    font-size: .95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.review-card h5 {
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.nwe-logo-strip-heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

.nwe-logo-strip-heading h4 {
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 1.1rem;
}

.nwe-logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.2);
}

.nwe-logo-strip-image {
    height: 84px;
    width: auto;
    max-width: 224px;
    object-fit: contain;
    transition: opacity .2s;
}

.nwe-logo-strip-image:hover {
    opacity: .85;
}

@media (max-width: 575.98px) {
    .nwe-logo-strip {
        gap: 1.5rem;
    }

    .nwe-logo-strip-image {
        height: 62px;
        max-width: 168px;
    }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.nwe-cta {
    background: linear-gradient(90deg, var(--nwe-navy) 0%, #253564 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.nwe-cta h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: .75rem;
}

.nwe-cta p { opacity: .85; margin-bottom: 2rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.nwe-about-hero {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 70px 0 60px;
    text-align: center;
}

.nwe-about-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); }

.cert-badge {
    background: var(--nwe-grey);
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border-top: 4px solid #fff;
}

.cert-badge i { font-size: 2rem; color: #fff; margin-bottom: .6rem; }
.cert-badge h6 { font-weight: 700; color: #fff; margin: 0; }

/* ============================================================
   SERVICES DETAIL PAGE
   ============================================================ */
.nwe-page-hero {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 65px 0 55px;
    text-align: center;
}

.nwe-page-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.nwe-page-hero p   { opacity: .85; max-width: 580px; margin: .75rem auto 0; }

.service-detail-card {
    background: #151515;
    border: 1px solid #fff;
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
    overflow: hidden;
    height: 100%;
    transition: transform .25s;
}

.service-detail-card:hover { transform: translateY(-4px); }

.service-detail-card .card-header-nwe {
    background-color: var(--nwe-navy);
    color: #fff;
    padding: 1.5rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-detail-card .card-header-nwe i { font-size: 1.8rem; color: var(--nwe-yellow); }

.service-detail-card .card-header-nwe h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.service-detail-card .card-body { padding: 1.6rem; }
.service-detail-card .card-body p { color: rgba(255,255,255,.75); font-size: .93rem; }

.service-detail-card .card-body ul {
    padding-left: 1.1rem;
    color: rgba(255,255,255,.85);
    font-size: .92rem;
}

.service-detail-card .card-body ul li { margin-bottom: .4rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.nwe-contact-hero {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 65px 0 55px;
    text-align: center;
}

.nwe-contact-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); }

.contact-info-card {
    background: var(--nwe-navy);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
}

.contact-info-card h3 {
    font-weight: 700;
    color: var(--nwe-yellow);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.4rem;
    align-items: flex-start;
}

.contact-info-item i {
    font-size: 1.3rem;
    color: var(--nwe-yellow);
    margin-top: .15rem;
    flex-shrink: 0;
}

.contact-info-item span { font-size: .93rem; opacity: .9; line-height: 1.5; }

.contact-form-card {
    background: #151515;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 2rem 2.2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.contact-form-card h3 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.nwe-manage-nav .nav-link {
    color: rgba(255,255,255,.85);
    font-weight: 600;
    border-radius: 6px;
    padding: .6rem .9rem;
    margin-bottom: .25rem;
}

.nwe-manage-nav .nav-link:hover {
    background-color: rgba(255,255,255,.08);
    color: #fff;
}

.nwe-manage-nav .nav-link.active {
    background-color: var(--nwe-yellow);
    color: var(--nwe-navy);
}

/* ============================================================
   BUTTONS – global overrides
   ============================================================ */
.btn-nwe-primary {
    background-color: var(--nwe-yellow);
    color: var(--nwe-navy);
    border: none;
    font-weight: 700;
    transition: background .2s, transform .15s;
}

.btn-nwe-primary:hover {
    background-color: var(--nwe-yellow-dark);
    color: var(--nwe-navy);
    transform: translateY(-2px);
}

.btn-nwe-outline {
    border: 2px solid var(--nwe-navy);
    color: var(--nwe-navy);
    font-weight: 700;
    transition: background .2s, color .2s;
}

.btn-nwe-outline:hover {
    background-color: var(--nwe-navy);
    color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.nwe-footer {
    background-color: var(--nwe-navy);
    color: rgba(255,255,255,.75);
    padding: 60px 0 0;
}

.nwe-footer h5 {
    color: var(--nwe-yellow);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.nwe-footer a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .9rem;
    display: block;
    margin-bottom: .45rem;
    transition: color .2s;
}

.nwe-footer a:hover { color: var(--nwe-yellow); }

.nwe-footer-social-links {
    display: flex;
    gap: .75rem;
}

.nwe-footer .nwe-footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
}

.nwe-footer .nwe-footer-social-links a:hover {
    color: var(--nwe-navy);
    background-color: var(--nwe-yellow);
    border-color: var(--nwe-yellow);
}

.nwe-footer-social-links svg {
    width: 1.1rem;
    height: 1.1rem;
}

.nwe-footer .footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .9rem;
}

.nwe-footer .footer-brand i { color: var(--nwe-yellow); }

.nwe-footer p { font-size: .88rem; }

.nwe-footer-bottom {
    background-color: #111c38;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2.5rem;
    font-size: .8rem;
    color: rgba(255,255,255,.45);
}

/* ============================================================
   UTILITIES
   ============================================================ */

/* ============================================================
   OUR WORK – IMAGE CAROUSEL
   ============================================================ */
.nwe-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.nwe-carousel-frame {
    flex: 1 1 auto;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nwe-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nwe-carousel-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: var(--nwe-navy);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s, transform .15s;
}

.nwe-carousel-arrow:hover {
    background-color: var(--nwe-yellow-dark);
    color: var(--nwe-navy);
    transform: scale(1.05);
}

@media (max-width: 575.98px) {
    .nwe-carousel {
        gap: .5rem;
    }

    .nwe-carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: .95rem;
    }
}

.bg-nwe-grey { background-color: var(--nwe-grey); }

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}