
/* =====================================
   JABALPUR DIGITAL - HEADER
===================================== */

.jd-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 20px rgba(16,39,71,0.06);
}

.jd-container {
    width: min(1200px, calc(100% - 40px));
    margin: auto;
}

.jd-topbar {
    background: #102747;
    color: #ffffff;
}

.jd-topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 12px;
}

.jd-topbar-inner p {
    margin: 0;
}

.jd-topbar-inner a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.topbar-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff851b;
    margin-right: 7px;
}

.jd-nav-wrap {
    border-bottom: 1px solid #edf0f4;
}

.jd-navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* Logo */

.jd-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex-shrink: 0;
}

.jd-logo-icon {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #102747;
    line-height: 1;
}

.jd-logo-icon span {
    color: #ff851b;
}

.jd-logo-text {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #102747;
    letter-spacing: 1px;
    line-height: 1.2;
}

.jd-logo-text small {
    display: block;
    color: #ff851b;
    font-size: 10px;
    letter-spacing: 4px;
    margin-top: 3px;
}

/* Navigation */

.jd-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.jd-nav-link,
.jd-dropdown-toggle {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #26374d;
    text-decoration: none;
    transition: color .25s ease;
}

.jd-nav-link:hover,
.jd-dropdown-toggle:hover {
    color: #ff851b;
}

.jd-dropdown-toggle {
    border: 0;
    background: none;
    cursor: pointer;
    padding: 12px 0;
}

.jd-arrow {
    color: #ff851b;
    margin-left: 3px;
}

.jd-nav-dropdown {
    position: relative;
}

.jd-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -15px;
    width: 245px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(16,39,71,.12);
    display: none;
}

.jd-nav-dropdown:hover .jd-dropdown-menu,
.jd-nav-dropdown.open .jd-dropdown-menu {
    display: block;
}

.jd-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    color: #26374d;
    font-size: 13px;
    text-decoration: none;
    transition: .2s;
}

.jd-dropdown-menu a:hover {
    background: #fff3e8;
    color: #ed7611;
    padding-left: 17px;
}

/* CTA */

.jd-header-cta {
    background: #ff851b;
    color: #ffffff;
    padding: 13px 21px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: .3s;
}

.jd-header-cta:hover {
    background: #102747;
    transform: translateY(-2px);
}

.jd-header-cta span {
    margin-left: 7px;
}

/* Mobile */

.jd-menu-toggle,
.jd-mobile-contact {
    display: none;
}

/* Tablet & Mobile */

@media (max-width: 1024px) {

    .jd-navbar {
        min-height: 72px;
    }

    .jd-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 43px;
        height: 43px;
        background: #102747;
        border: none;
        border-radius: 7px;
        padding: 10px;
        cursor: pointer;
        order: 3;
    }

    .jd-menu-toggle span {
        height: 2px;
        width: 100%;
        background: #ffffff;
        border-radius: 5px;
        transition: .3s;
    }

    .jd-menu-toggle.active span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .jd-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .jd-menu-toggle.active span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .jd-header-cta {
        margin-left: auto;
        padding: 11px 14px;
        font-size: 12px;
    }

    .jd-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        background: #ffffff;
        padding: 15px 22px 25px;
        border-top: 1px solid #edf0f4;
        box-shadow: 0 15px 25px rgba(16,39,71,.10);
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .jd-navigation.active {
        display: flex;
    }

    .jd-nav-link,
    .jd-dropdown-toggle {
        display: block;
        width: 100%;
        padding: 14px 5px;
        text-align: left;
        border-bottom: 1px solid #edf0f4;
    }

    .jd-nav-dropdown {
        width: 100%;
    }

    .jd-dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 10px 12px;
    }

    .jd-nav-dropdown.open .jd-dropdown-menu {
        display: block;
    }

    .jd-dropdown-menu a {
        padding: 12px;
    }

    .jd-mobile-contact {
        display: block;
        text-align: center;
        margin-top: 15px;
        padding: 13px;
        color: #ffffff;
        background: #ff851b;
        border-radius: 7px;
        text-decoration: none;
        font-weight: 700;
    }
}

@media (max-width: 480px) {

    .jd-container {
        width: calc(100% - 28px);
    }

    .jd-topbar-inner {
        min-height: 34px;
        justify-content: center;
        font-size: 10px;
    }

    .jd-topbar-inner p {
        display: none;
    }

    .jd-navbar {
        min-height: 68px;
        gap: 9px;
    }

    .jd-logo-icon {
        font-size: 31px;
    }

    .jd-logo-text {
        font-size: 12px;
    }

    .jd-logo-text small {
        font-size: 9px;
    }

    .jd-header-cta {
        padding: 10px 12px;
        font-size: 11px;
    }

    .jd-menu-toggle {
        width: 39px;
        height: 39px;
    }
}
