/* ============================================
   NextLevel - IT Solutions & Services
   Color Palette:
     Primary:   #341E97 (purple)
     Secondary: #1DD2A2 (teal)
     Accent:    #F4EFFF (light purple)
     Dark BG:   #1E0839
     Text:      #54595F
   Typography: Roboto / Roboto Slab / Inter
   ============================================ */

:root {
    --nl-primary: #341E97;
    --nl-primary-dark: #251570;
    --nl-secondary: #1DD2A2;
    --nl-accent: #F4EFFF;
    --nl-dark: #1E0839;
    --nl-darker: #0F041F;
    --nl-text: #54595F;
    --nl-text-light: #7A7A7A;
    --nl-border: #E0D8D8;
    --nl-white: #FFFFFF;
    --nl-radius: 12px;
    --nl-radius-sm: 8px;
    --nl-radius-pill: 25px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: var(--nl-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: #1a1a2e;
}

/* ---- Gradient Text ---- */
.nl-gradient-text {
    background: linear-gradient(135deg, var(--nl-primary), var(--nl-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nl-gradient-text-light {
    background: linear-gradient(135deg, #fff, var(--nl-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Section Tags ---- */
.nl-section-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--nl-primary);
    background: var(--nl-accent);
    padding: 6px 18px;
    border-radius: var(--nl-radius-pill);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nl-section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.nl-section-desc {
    font-size: 18px;
    color: var(--nl-text-light);
    line-height: 1.8;
}

/* ============ BUTTONS ============ */
.nl-btn-primary {
    background: linear-gradient(135deg, var(--nl-primary), #5230DA);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--nl-radius-pill);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.nl-btn-primary:hover {
    background: linear-gradient(135deg, #5230DA, var(--nl-primary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 30, 151, 0.35);
}

.nl-btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 28px;
    border-radius: var(--nl-radius-pill);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nl-btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.nl-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid var(--nl-secondary);
    padding: 10px 24px;
    border-radius: var(--nl-radius-pill);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nl-btn-outline:hover {
    background: var(--nl-secondary);
    color: var(--nl-dark);
}

.nl-btn-white {
    background: #fff;
    color: var(--nl-primary);
    border: none;
    padding: 14px 32px;
    border-radius: var(--nl-radius-pill);
    font-weight: 600;
    transition: all 0.3s ease;
}

.nl-btn-white:hover {
    background: var(--nl-accent);
    color: var(--nl-primary);
    transform: translateY(-2px);
}

.nl-btn-ghost-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 12px 28px;
    border-radius: var(--nl-radius-pill);
    font-weight: 600;
    transition: all 0.3s ease;
}

.nl-btn-ghost-white:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
}

/* ============ NAVBAR ============ */
.nl-navbar {
    background: transparent;
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.nl-navbar.scrolled {
    background: rgba(30, 8, 57, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nl-brand-text {
    font-family: 'Roboto Slab', serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.nl-brand-accent {
    color: var(--nl-secondary);
}

.nl-navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px !important;
    white-space: nowrap; /* keep each menu item on a single line */
    transition: color 0.3s;
}

.nl-navbar .nav-link:hover,
.nl-navbar .nav-item.active .nav-link {
    color: var(--nl-secondary) !important;
}

/* ============ HERO ============ */
.nl-hero {
    position: relative;
    background: var(--nl-darker);
    min-height: 100vh;
    overflow: hidden;
}

/* Local Video Background */
.nl-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.nl-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.nl-hero .nl-hero-title {
    text-align: center;
}

.nl-hero-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--nl-secondary);
    background: rgba(29,210,162,0.1);
    border: 1px solid rgba(29,210,162,0.25);
    padding: 8px 20px;
    border-radius: var(--nl-radius-pill);
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nl-hero-title {
    font-size: 62px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.nl-hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 36px;
}

.nl-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero floating cards */
.nl-hero-visual {
    position: relative;
    height: 450px;
}

.nl-floating-card {
    position: absolute;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--nl-radius);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    animation: float 6s ease-in-out infinite;
}

.nl-floating-card i {
    font-size: 24px;
    color: var(--nl-secondary);
}

.nl-card-1 { top: 10%; left: 10%; animation-delay: 0s; }
.nl-card-2 { top: 35%; right: 5%; animation-delay: 1.5s; }
.nl-card-3 { bottom: 25%; left: 5%; animation-delay: 3s; }
.nl-card-4 { bottom: 5%; right: 15%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ============ STATS ============ */
.nl-stats {
    background: var(--nl-dark);
    padding: 0;
    position: relative;
    z-index: 5;
    margin-top: -60px;
}

.nl-stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--nl-primary), #5230DA);
    border-radius: var(--nl-radius);
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(52, 30, 151, 0.4);
}

.nl-stat-item {
    text-align: center;
    padding: 10px 30px;
}

.nl-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.nl-stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ ABOUT ============ */
.nl-about {
    padding: 120px 0 100px;
    background: #fff;
}

.nl-about-image {
    position: relative;
    padding: 40px;
}

.nl-about-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background: var(--nl-accent);
    border-radius: 20px;
    z-index: 0;
}

.nl-about-icon-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nl-icon-box {
    background: #fff;
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nl-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 30, 151, 0.15);
    border-color: var(--nl-primary);
}

.nl-icon-box i {
    font-size: 48px;
    color: var(--nl-primary);
}

.nl-about-features {
    margin-top: 30px;
}

.nl-feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.nl-feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.nl-feature-icon i {
    font-size: 22px;
    color: var(--nl-secondary);
}

.nl-feature-item h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.nl-feature-item p {
    font-size: 14px;
    color: var(--nl-text-light);
    margin: 0;
}

/* ============ SERVICES ============ */
.nl-services {
    padding: 100px 0;
    background: #f9f8fe;
}

.nl-service-card {
    background: #fff;
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 36px 28px;
    height: 100%;
    transition: all 0.3s ease;
}

.nl-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(52, 30, 151, 0.12);
    border-color: var(--nl-primary);
}

.nl-service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--nl-radius);
    background: var(--nl-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.nl-service-icon i {
    font-size: 28px;
    color: var(--nl-primary);
}

.nl-service-icon.nl-icon-teal {
    background: rgba(29, 210, 162, 0.1);
}

.nl-service-icon.nl-icon-teal i {
    color: var(--nl-secondary);
}

.nl-service-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.nl-service-card p {
    font-size: 15px;
    color: var(--nl-text-light);
    margin-bottom: 16px;
}

.nl-service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--nl-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nl-service-link:hover {
    color: var(--nl-secondary);
    text-decoration: none;
}

.nl-service-link i {
    margin-left: 4px;
    transition: transform 0.3s;
}

.nl-service-link:hover i {
    transform: translateX(4px);
}

/* ============ CTA ============ */
.nl-cta {
    padding: 100px 0;
    background: var(--nl-darker);
}

.nl-cta-inner {
    background: linear-gradient(135deg, var(--nl-primary), var(--nl-secondary));
    border-radius: 20px;
    padding: 70px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nl-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.nl-cta-inner h2 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.nl-cta-inner p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ CONTACT ============ */
.nl-contact {
    padding: 100px 0;
    background: #fff;
}

.nl-contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nl-contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.nl-contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--nl-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nl-contact-icon i {
    font-size: 18px;
    color: var(--nl-primary);
}

.nl-contact-item h6 {
    font-weight: 600;
    margin-bottom: 2px;
}

.nl-contact-item p {
    color: var(--nl-text-light);
    margin: 0;
    font-size: 15px;
}

.nl-contact-form {
    background: #f9f8fe;
    border-radius: var(--nl-radius);
    padding: 40px;
}

.nl-input {
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius-sm);
    padding: 14px 18px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.nl-input:focus {
    border-color: var(--nl-primary);
    box-shadow: 0 0 0 3px rgba(52, 30, 151, 0.1);
}

/* ============ FOOTER ============ */
.nl-footer {
    background: var(--nl-darker);
    color: rgba(255,255,255,0.7);
    padding-top: 20px;
}

.nl-footer-brand {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.nl-footer-text {
    font-size: 15px;
    line-height: 1.8;
}

.nl-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s;
}

.nl-social-links a:hover {
    background: var(--nl-secondary);
    color: var(--nl-dark);
    transform: translateY(-3px);
}

.nl-footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nl-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nl-footer-links li {
    margin-bottom: 10px;
}

.nl-footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.nl-footer-links a:hover {
    color: var(--nl-secondary);
}

.nl-contact-info li {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.nl-contact-info li i {
    color: var(--nl-secondary);
    width: 20px;
}

.nl-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 20px;
    font-size: 14px;
}

.nl-footer-bottom a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.nl-footer-bottom a:hover {
    color: var(--nl-secondary);
}

/* ============ HERO WHITE OUTLINE BUTTON ============ */
.nl-btn-white-outline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 14px 32px;
    border-radius: var(--nl-radius-pill);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.nl-btn-white-outline:hover {
    background: #fff;
    color: var(--nl-primary);
    border-color: #fff;
}

/* ============ SCHEDULE DEMO BUTTON (NAV) ============ */
.nl-btn-schedule {
    background: var(--nl-primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--nl-radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nl-btn-schedule:hover {
    background: #5230DA;
    color: #fff;
}

/* ============ LOGIN BUTTON (NAV) ============ */
.nl-btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 8px 22px;
    border-radius: var(--nl-radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nl-btn-login:hover {
    background: #fff;
    color: var(--nl-primary);
    border-color: #fff;
}

/* ============ DROPDOWN ============ */
.nl-dropdown {
    background: #fff;
    border: none;
    border-radius: var(--nl-radius-sm);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    padding: 10px 0;
    min-width: 220px;
}

.nl-dropdown .dropdown-item {
    color: #1a1a2e;
    padding: 8px 20px;
    font-size: 15px;
}

.nl-dropdown .dropdown-item:hover {
    background: var(--nl-accent);
    color: var(--nl-primary);
}

.nl-dropdown-icons .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nl-dropdown-icons .dropdown-item svg {
    flex-shrink: 0;
    color: var(--nl-primary);
}

.nl-dropdown-icons .dropdown-item:hover svg {
    color: #5230DA;
}

/* Product dropdown with sub-label */
.nl-dropdown-icons .dropdown-item {
    align-items: center;
    padding: 10px 20px;
    min-width: 280px;
    flex-wrap: wrap;
}

.nl-dropdown-icons .dropdown-item span {
    font-weight: 600;
    color: #1a1a2e;
}

.nl-product-sub {
    display: block;
    width: 100%;
    font-size: 11px;
    color: var(--nl-text-light);
    font-weight: 400;
    margin-left: 30px;
    margin-top: 2px;
    letter-spacing: 0.2px;
}

/* Mega dropdown (multi-column) */
.nl-dropdown-mega {
    min-width: 520px;
    padding: 16px;
}

.nl-mega-row {
    display: flex;
    gap: 10px;
}

.nl-mega-col {
    flex: 1;
}

@media (max-width: 991px) {
    .nl-dropdown-mega {
        min-width: auto;
    }

    .nl-mega-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ============ ROUNDED IMAGE ============ */
.nl-rounded-img {
    border-radius: var(--nl-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.nl-scope-img {
    width: 100%;
}

/* ============ WORK-CARD SECTION ============ */
.nl-workcard-section {
    padding: 60px 15px 0;
    background: linear-gradient(180deg, #f9f8fe 0%, #ece7ff 100%);
}

.nl-workcard-sticky {
    position: sticky;
    top: 100px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

/* Title is :first-child, cards start at :nth-child(2) */
.nl-workcard-sticky:nth-child(2) { z-index: 3; }
.nl-workcard-sticky:nth-child(3) { z-index: 4; }
.nl-workcard-sticky:nth-child(4) { z-index: 5; }
.nl-workcard-sticky:nth-child(5) { z-index: 6; }
.nl-workcard-sticky:nth-child(6) { z-index: 7; }
.nl-workcard-sticky:nth-child(7) { z-index: 8; }
.nl-workcard-sticky:nth-child(8) { z-index: 9; }

.nl-workcard {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(52, 30, 151, 0.25);
    background: #fff;
}

/* Left panel */
.nl-workcard-left {
    background: linear-gradient(180deg, #5230DA 0%, #341E97 100%);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nl-workcard-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.nl-workcard-persona {
    margin-bottom: 20px;
}

.nl-workcard-persona img {
    width: 100%;
    max-width: 240px;
    height: 280px;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    border: 3px solid rgba(255,255,255,.18);
    box-shadow: 0 15px 40px rgba(0,0,0,.3);
}

.nl-workcard-tagline {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.nl-workcard-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
}

.nl-workcard-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 0;
    padding: 12px 20px;
}

.nl-workcard-contact i {
    font-size: 24px;
    color: var(--nl-secondary);
}

.nl-workcard-contact-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.nl-workcard-contact-phone {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    word-break: break-all;
}

/* Right panel */
.nl-workcard-right {
    background: #fff;
    padding: 0;
}

.nl-workcard-block {
    padding: 30px 28px;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}

.nl-workcard-block-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.nl-workcard-divider {
    width: 40px;
    height: 3px;
    background: var(--nl-primary);
    border-radius: 2px;
    margin-bottom: 16px;
}

.nl-workcard-block p {
    font-size: 14px;
    color: var(--nl-text-light);
    line-height: 1.7;
    margin: 0;
}

.nl-workcard-block ul {
    padding-left: 18px;
    margin: 0;
}

.nl-workcard-block ul li {
    font-size: 14px;
    color: var(--nl-text-light);
    line-height: 1.7;
    margin-bottom: 6px;
}

@media (max-width: 991px) {
    .nl-workcard-left {
        padding: 30px 20px;
    }

    .nl-workcard-persona img {
        max-width: 180px;
    }

    .nl-workcard-title {
        font-size: 22px;
    }
}

/* ============ ZAKI / HOW NL HELPS ============ */
.nl-zaki {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #f9f8fe 0%, #ece7ff 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.nl-shape-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    line-height: 0;
    transform: rotate(180deg);
}

.nl-shape-top svg {
    width: 100%;
    height: 80px;
}

.nl-shape-top path {
    fill: #fff;
}

/* Zaki 3-column grid layout */
.nl-zaki-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.nl-zaki-col-center {
    text-align: center;
}

.nl-zaki-mascot {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(52,30,151,.2));
    animation: zakiFloat 4s ease-in-out infinite;
}

@keyframes zakiFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Feature row — icon + content */
.nl-zaki-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.nl-zaki-col-left .nl-zaki-feature {
    text-align: right;
    flex-direction: row;
}

.nl-zaki-col-right .nl-zaki-feature {
    text-align: left;
}

.nl-zaki-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nl-primary), #5230DA);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(52, 30, 151, 0.25);
    transition: transform 0.3s ease;
}

.nl-zaki-icon i {
    font-size: 22px;
}

.nl-zaki-feature:hover .nl-zaki-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, #5230DA, var(--nl-secondary));
}

.nl-zaki-content {
    flex: 1;
}

.nl-zaki-content h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.nl-zaki-content p {
    font-size: 14px;
    color: var(--nl-text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .nl-zaki-grid {
        grid-template-columns: 1fr;
    }

    .nl-zaki-col-center {
        order: -1;
    }

    .nl-zaki-mascot {
        max-width: 280px;
    }

    .nl-zaki-col-left .nl-zaki-feature {
        text-align: left;
        flex-direction: row-reverse;
    }
}

.nl-help-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 28px 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.nl-help-card:hover {
    box-shadow: 0 8px 30px rgba(52, 30, 151, 0.1);
    border-color: var(--nl-primary);
}

.nl-help-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--nl-radius-sm);
    background: var(--nl-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nl-help-card-icon i {
    font-size: 22px;
    color: var(--nl-primary);
}

.nl-help-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.nl-help-card p {
    font-size: 14px;
    color: var(--nl-text-light);
    margin: 0;
    line-height: 1.7;
}

/* ============ INNOVATION / FLIP BOX SECTION ============ */
.nl-innovation-section {
    padding: 100px 0;
    background: #fff;
}

.nl-innovation {
    padding: 0;
}

.nl-innovation-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #1a1a2e;
}

.nl-innovation-desc {
    font-size: 16px;
    color: var(--nl-text-light);
    line-height: 1.8;
    margin-bottom: 28px;
}

.nl-btn-teal {
    background: var(--nl-secondary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--nl-radius-pill);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nl-btn-teal:hover {
    background: #0fa67e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 210, 162, 0.35);
}

/* Flip grid — 5 columns, heading cell spans rows 1-2 */
.nl-flip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 280px;
    gap: 14px;
    align-items: stretch;
}

.nl-innovation-cell {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px 0 0;
}

.nl-flipbox {
    perspective: 900px;
    height: 100%;
    min-height: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

.nl-flipbox:hover { text-decoration: none; }

.nl-flipbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.6s cubic-bezier(.33, 1, .68, 1);
    will-change: transform;
}

/* Default: horizontal Y flip */
.nl-flipbox:hover .nl-flipbox-inner {
    transform: rotateY(180deg);
}

/* Varied 3D directions for each card position */
.nl-flip-grid > .nl-flipbox:nth-child(2) .nl-flipbox-back { transform: rotateY(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(2):hover .nl-flipbox-inner { transform: rotateY(-180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(3) .nl-flipbox-back { transform: rotateX(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(3):hover .nl-flipbox-inner { transform: rotateX(-180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(4) .nl-flipbox-back { transform: rotateY(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(4):hover .nl-flipbox-inner { transform: rotateY(180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(5) .nl-flipbox-back { transform: rotateX(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(5):hover .nl-flipbox-inner { transform: rotateX(180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(6) .nl-flipbox-back { transform: rotate3d(1, 1, 0, 180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(6):hover .nl-flipbox-inner { transform: rotate3d(1, 1, 0, 180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(7) .nl-flipbox-back { transform: rotateY(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(7):hover .nl-flipbox-inner { transform: rotateY(-180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(8) .nl-flipbox-back { transform: rotateX(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(8):hover .nl-flipbox-inner { transform: rotateX(-180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(9) .nl-flipbox-back { transform: rotate3d(-1, 1, 0, 180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(9):hover .nl-flipbox-inner { transform: rotate3d(-1, 1, 0, 180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(10) .nl-flipbox-back { transform: rotateY(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(10):hover .nl-flipbox-inner { transform: rotateY(180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(11) .nl-flipbox-back { transform: rotateX(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(11):hover .nl-flipbox-inner { transform: rotateX(180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(12) .nl-flipbox-back { transform: rotate3d(1, 1, 0, 180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(12):hover .nl-flipbox-inner { transform: rotate3d(1, 1, 0, 180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(13) .nl-flipbox-back { transform: rotateY(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(13):hover .nl-flipbox-inner { transform: rotateY(-180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(14) .nl-flipbox-back { transform: rotateX(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(14):hover .nl-flipbox-inner { transform: rotateX(-180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(15) .nl-flipbox-back { transform: rotate3d(-1, 1, 0, 180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(15):hover .nl-flipbox-inner { transform: rotate3d(-1, 1, 0, 180deg); }

.nl-flip-grid > .nl-flipbox:nth-child(16) .nl-flipbox-back { transform: rotateY(180deg); }
.nl-flip-grid > .nl-flipbox:nth-child(16):hover .nl-flipbox-inner { transform: rotateY(180deg); }

.nl-flipbox-front,
.nl-flipbox-back {
    position: absolute;
    inset: 0;
    border: 1px solid var(--nl-border);
    border-radius: 0;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 4px 15px rgba(52, 30, 151, 0.06);
    transition: box-shadow .3s ease, border-color .3s ease;
}

.nl-flipbox:hover .nl-flipbox-front,
.nl-flipbox:hover .nl-flipbox-back {
    box-shadow: 0 10px 30px rgba(52, 30, 151, 0.15);
    border-color: rgba(82, 48, 218, .35);
}

.nl-flipbox-front {
    background: #fff;
}

.nl-flipbox-front img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 18px;
}

/* Form Builder: per-icon size override */
.nl-flipbox-front img[alt="Form Builder"] {
    width: 139px !important;
    height: 130px !important;
    object-fit: contain;
}

/* Document Management + Calibration: per-icon size override
   (Calibration card was repurposed from Document Control and reuses the
   icon-doc-mgmt.png art, so it inherits the same sizing) */
.nl-flipbox-front img[alt="Document Management"],
.nl-flipbox-front img[alt="Calibration"] {
    width: 80px !important;
    height: 125px !important;
    object-fit: contain;
}

/* Internal Audit: per-icon size override */
.nl-flipbox-front img[alt="Internal Audit"] {
    width: 105px !important;
    height: 115px !important;
    object-fit: contain;
}

/* Management of Change: per-icon size override */
.nl-flipbox-front img[alt="Management of Change"] {
    width: 65px !important;
    height: 115px !important;
    object-fit: contain;
}

/* Compliance Management: per-icon size override */
.nl-flipbox-front img[alt="Compliance Management"] {
    width: 75px !important;
    height: 115px !important;
    object-fit: contain;
}

/* Organizational Context: per-icon size override */
.nl-flipbox-front img[alt="Organizational Context"] {
    width: 65px !important;
    height: 115px !important;
    object-fit: contain;
}

.nl-flipbox-front h5 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.nl-flipbox-back p {
    font-size: 12px;
    line-height: 1.5;
}

.nl-flipbox-back {
    background: linear-gradient(180deg, #180431 0%, #341E97 45%, #5230DA 75%, #1DD2A2 100%);
    color: #fff;
    transform: rotateY(180deg); /* default; overridden per-card above */
}

.nl-flipbox-back p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,.92);
    margin: 0;
}

@media (max-width: 1199px) {
    .nl-flip-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991px) {
    .nl-flip-grid { grid-template-columns: repeat(3, 1fr); }
    .nl-innovation-title { font-size: 28px; }
}

@media (max-width: 767px) {
    .nl-flip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .nl-flip-grid { grid-template-columns: 1fr; }
}

/* ============ RESULTS SECTION ============ */
.nl-results {
    padding: 100px 0;
    background: #f9f8fe;
}

/* ============ FEATURES / KPI ============ */
.nl-features {
    padding: 80px 0;
    background: #fff;
}

.nl-feature-card {
    background: #fff;
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.nl-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 30, 151, 0.1);
}

.nl-feature-card-img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 16px;
}

/* ============ PARTNERS ============ */
.nl-partners {
    padding: 60px 0;
    background: #f9f8fe;
}

/* ============ ABOUT PAGE ============ */
.nl-about-hero {
    position: relative;
    background: var(--nl-darker);
    background-image: url('/public/images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.nl-about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 4, 31, 0.75);
    z-index: 1;
}

.nl-about-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.nl-about-hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.nl-about-intro {
    padding: 80px 0 40px;
    background: #fff;
}

.nl-about-lead {
    font-size: 20px;
    color: var(--nl-text);
    line-height: 1.9;
}

.nl-about-section {
    padding: 80px 0;
    background: #fff;
}

.nl-about-section-alt {
    background: #f9f8fe;
}

.nl-about-img {
    border-radius: 16px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.nl-about-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--nl-primary);
    margin-bottom: 16px;
}

.nl-about-section p {
    font-size: 16px;
    color: var(--nl-text-light);
    line-height: 1.8;
}

/* Core Values Timeline */
.nl-timeline {
    position: relative;
    padding: 40px 0 20px;
}

.nl-timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 20px;
}

.nl-timeline-line {
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--nl-primary), var(--nl-secondary));
    z-index: 0;
}

.nl-timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nl-timeline-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nl-primary), #5230DA);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(52, 30, 151, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nl-timeline-item:hover .nl-timeline-number {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(52, 30, 151, 0.45);
}

.nl-timeline-pin {
    width: 3px;
    height: 30px;
    background: var(--nl-primary);
    margin-bottom: 0;
}

.nl-timeline-content {
    background: #fff;
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 24px 20px;
    max-width: 260px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.nl-timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 30, 151, 0.12);
    border-color: var(--nl-primary);
}

.nl-timeline-content h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--nl-primary);
    margin-bottom: 10px;
}

.nl-timeline-content p {
    font-size: 14px;
    color: var(--nl-text-light);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 991px) {
    .nl-timeline-items {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .nl-timeline-line {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 3px;
        height: 100%;
    }

    .nl-timeline-item {
        flex-direction: row;
        text-align: left;
        gap: 16px;
        margin-bottom: 30px;
    }

    .nl-timeline-pin {
        width: 30px;
        height: 3px;
    }

    .nl-timeline-content {
        max-width: 100%;
    }
}

/* About CTA */
.nl-about-cta {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
}

.nl-about-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(52,30,151,0.9), rgba(29,210,162,0.7));
    z-index: 1;
}

.nl-about-cta-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.nl-about-cta-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 16px;
}

@media (max-width: 991px) {
    .nl-about-hero-title {
        font-size: 38px;
    }

    .nl-about-cta-title {
        font-size: 28px;
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .nl-hero-title {
        font-size: 42px;
    }

    .nl-section-title {
        font-size: 32px;
    }

    .nl-stats-row {
        gap: 20px;
    }

    .nl-stat-number {
        font-size: 36px;
    }

    .nl-cta-inner {
        padding: 50px 30px;
    }

    .nl-cta-inner h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .nl-hero-title {
        font-size: 32px;
    }

    .nl-hero-subtitle {
        font-size: 16px;
    }

    .nl-stats-row {
        flex-direction: column;
        align-items: center;
    }

    .nl-stat-item {
        padding: 15px 0;
    }

    .nl-about-image {
        padding: 20px;
        margin-bottom: 40px;
    }

    .nl-contact-form {
        padding: 24px;
    }
}

/* ============ INNOVATION SECTION — RESPONSIVE LAYOUT ============ */
/* Collapse the 5-column flip grid gracefully at each breakpoint.
   .nl-innovation-cell (the heading/CTA cell) always spans the full row
   so it sits above the flipboxes instead of being a narrow column. */
@media (max-width: 1199px) {
    .nl-flip-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 240px;
    }
    .nl-innovation-cell { grid-column: 1 / -1; padding: 0 0 12px 0; }
}

@media (max-width: 991px) {
    .nl-innovation-section { padding: 80px 0; }
    .nl-flip-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
        gap: 12px;
    }
    .nl-innovation-cell { grid-column: 1 / -1; }
    .nl-innovation-title { font-size: 30px; }
}

@media (max-width: 767px) {
    .nl-innovation-section { padding: 60px 0; }
    .nl-flip-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 10px;
    }
    .nl-innovation-cell { grid-column: 1 / -1; }
    .nl-innovation-title { font-size: 26px; }
    .nl-innovation-desc  { font-size: 15px; }
}

@media (max-width: 480px) {
    .nl-innovation-section { padding: 48px 0; }
    .nl-flip-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 10px;
    }
    .nl-innovation-cell { grid-column: 1 / -1; padding-bottom: 4px; }
    .nl-innovation-title { font-size: 24px; }
}