﻿
.njm-footer {
    --njm-bg: #14241b;
    --njm-bg-2: #0f1c14;
    --njm-cream: #f4f1e6;
    --njm-muted: #aebba9;
    --njm-leaf: #6fbf73;
    --njm-orange: #ef7b3a;
    --njm-line: rgba(244,241,230,0.12);
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--njm-bg);
    color: var(--njm-cream);
    padding: 0;
    overflow: hidden;
    position: relative;
}

.njm-footer * {
    box-sizing: border-box;
}

.njm-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Top contact strip */
.njm-cta {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--njm-line);
}

.njm-cta-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.njm-cta-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(239,123,58,0.12);
    border: 1px solid rgba(239,123,58,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--njm-orange);
    font-size: 18px;
}

.njm-cta-text h4 {
    margin: 6px 0 8px;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--njm-leaf);
    font-weight: 600;
}

.njm-cta-text p, .njm-cta-text a {
    margin: 0;
    color: var(--njm-muted);
    font-size: 14.5px;
    line-height: 1.6;
    text-decoration: none;
}

    .njm-cta-text a:hover {
        color: var(--njm-cream);
    }

/* Main grid */
.njm-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 48px 0 40px;
}

.njm-logo {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--njm-cream);
    letter-spacing: .01em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

    .njm-logo span {
        color: var(--njm-leaf);
    }

.njm-tagline {
    color: var(--njm-muted);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 22px;
}

.njm-follow-label {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--njm-muted);
    margin: 0 0 14px;
}

.njm-social {
    display: flex;
    gap: 10px;
}

    .njm-social a {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        border: 1px solid var(--njm-line);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--njm-cream);
        text-decoration: none;
        font-size: 15px;
        transition: all .2s ease;
    }

        .njm-social a:hover {
            background: var(--njm-orange);
            border-color: var(--njm-orange);
            transform: translateY(-3px);
        }

.njm-heading {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--njm-cream);
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}

    .njm-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 28px;
        height: 2px;
        background: var(--njm-orange);
    }

.njm-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .njm-links li {
        margin-bottom: 12px;
    }

    .njm-links a {
        color: var(--njm-muted);
        text-decoration: none;
        font-size: 14.5px;
        transition: color .2s ease, padding-left .2s ease;
    }

        .njm-links a:hover {
            color: var(--njm-leaf);
            padding-left: 4px;
        }

.njm-sub-text {
    color: var(--njm-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.njm-sub-form {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--njm-line);
    background: rgba(244,241,230,0.04);
}

    .njm-sub-form input {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        padding: 14px 16px;
        color: var(--njm-cream);
        font-size: 14px;
        font-family: inherit;
    }

        .njm-sub-form input::placeholder {
            color: var(--njm-muted);
        }

    .njm-sub-form button {
        border: none;
        background: var(--njm-orange);
        color: #fff;
        padding: 0 20px;
        cursor: pointer;
        font-size: 15px;
        display: flex;
        align-items: center;
        transition: background .2s ease;
    }

        .njm-sub-form button:hover {
            background: #d8682b;
        }

.njm-map {
    margin-top: 14px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--njm-line);
    filter: grayscale(0.15) contrast(1.05);
}

    .njm-map iframe {
        display: block;
    }

.njm-bottom {
    border-top: 1px solid var(--njm-line);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

    .njm-bottom p {
        margin: 0;
        color: var(--njm-muted);
        font-size: 13px;
    }

    .njm-bottom a {
        color: var(--njm-leaf);
        text-decoration: none;
        font-weight: 600;
    }

.njm-mini-links {
    display: flex;
    gap: 20px;
}

    .njm-mini-links a {
        color: var(--njm-muted);
        font-size: 13px;
        text-decoration: none;
    }

        .njm-mini-links a:hover {
            color: var(--njm-cream);
        }

/* Decorative leaf glow */
.njm-glow {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(111,191,115,0.18), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 860px) {
    .njm-cta {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .njm-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 540px) {
    .njm-main {
        grid-template-columns: 1fr;
    }

    .njm-bottom {
        flex-direction: column;
        text-align: center;
    }
}



/* Dropdown CSS */
.dropdown-menu {
    min-width: 220px;
    padding: 0.5rem;
}
/* Nested ul (submenus) - default hidden, position side var */
.dropdown-menu li {
    position: relative;
}
.dropdown-menu li > ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    border-radius: 0.375rem;
    display: none;
    z-index: 1000;
}
/* Hover var submenu show */
.dropdown-menu li:hover > ul {
    display: block;
}
/* Hover gradient effect - green + orange merge */
.dropdown-item {
    display: block;
    transition: background 0.3s ease, color 0.3s ease, padding-left 0.2s ease;
    border-radius: 0.25rem;
}
.dropdown-item:hover {
    background: linear-gradient(90deg, #28a745, #fd7e14);
    color: #fff !important;
    padding-left: 1rem;
}
/* Divider style */
.dropdown-divider {
    margin: 0.3rem 0;
}
/* Mobile responsive - hover nahi chalat touch var */
@media (max-width: 991px) {
    .dropdown-menu li > ul {
        position: static;
        box-shadow: none;
        display: block;
        margin-left: 1rem;
    }

    .dropdown-item:hover,
    .dropdown-item:active,
    .dropdown-item:focus {
        background: linear-gradient(90deg, #28a745, #fd7e14);
        color: #fff !important;
        padding-left: 1rem;
    }
}
/* navbar layout css */
.top-strip {
  height: 4px;
  background: linear-gradient(90deg, #139540, var(--secondary));
}

.bottom-strip {
  height: 4px;
  background: linear-gradient(90deg, #139540, var(--secondary));
}
