/* Net Soft Solutions — articlelist.css | https://www.netsoft.in        */
/* Combined stylesheet: shared tokens/layout + article-list page styles.*/
/* All unused rules from web-designing-companies-in-new-delhi.css have  */
/* been removed; only selectors referenced by articlelist.aspx remain.  */

/* ── TOKENS ──────────────────────────────────────────────────────────── */
:root {
    --navy: #0D2137;
    --blue: #1A56DB;
    --blue-h: #1446BE;
    --blue-lt: #EBF2FF;
    --blue-bd: #BFDBFE;
    --ink: #0F172A;
    --body: #475569;
    --muted: #94A3B8;
    --white: #FFFFFF;
    --bg: #F8FAFC;
    --bg2: #F1F5F9;
    --line: #E2E8F0;
    --amber: #F59E0B;
    --green: #10B981;
    --hh: 'DM Serif Display', Georgia, serif;
    --hb: 'Manrope', system-ui, sans-serif;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --mw: 1160px;
    --r: 10px;
}

/* ── RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ── FOCUS STYLES (keyboard accessibility / Core Web Vitals signal) ─── */
:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 3px;
}

body {
    background: var(--white);
    color: var(--body);
    font-family: var(--hb);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* nav, footer, topbar links keep their contextual colour */
header a, footer a, .topbar a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    display: flex;
    flex-wrap: wrap;
}

.caption-box {
    flex: 1 1 16%;
    background: #f2f2f2;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid #ddd;
    box-sizing: border-box;
}


/* ── BREADCRUMB ──────────────────────────────────────────────────────── */
.al-breadcrumb {
    width: 92%;
    max-width: var(--mw);
    margin: 18px auto 0;
}

.al-bc-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    font-size: .78rem;
    color: var(--muted);
}

    .al-bc-list li:not(:last-child)::after {
        content: '/';
        margin-left: 6px;
        color: var(--line);
    }

    .al-bc-list a {
        color: var(--blue);
        transition: color .15s;
    }

        .al-bc-list a:hover {
            color: var(--blue-h);
            text-decoration: underline;
        }

    .al-bc-list [aria-current="page"] {
        color: var(--muted);
    }


/* ── SKIP TO MAIN CONTENT ────────────────────────────────────────────── */
.skip-to-main {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    background: var(--blue);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 0 0 8px 0;
}

.skip-to-main:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
}

/* ── SECTION ANCHOR SCROLL OFFSET ───────────────────────────────────── */
/* Offsets sticky header (66px) when TOC links jump to section anchors */
.al-category-categ[id] {
    scroll-margin-top: 80px;
}


/* ── TOC → CONTENT GAP ───────────────────────────────────────────────── */
#divIndex {
    margin-bottom: 48px;
}

/* ── SCROLL-REVEAL UTILITIES ─────────────────────────────────────────── */
.sr {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

    .sr.on {
        opacity: 1;
        transform: none;
    }

.sl {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}

    .sl.on {
        opacity: 1;
        transform: none;
    }

.sr-r {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}

    .sr-r.on {
        opacity: 1;
        transform: none;
    }

/* ── WRAPPER ─────────────────────────────────────────────────────────── */
.w {
    width: 92%;
    max-width: var(--mw);
    margin-inline: auto;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 22px;
    border-radius: var(--r);
    font-family: var(--hb);
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all .2s var(--ease);
}

    .btn svg {
        transition: transform .2s;
    }

    .btn:hover svg {
        transform: translateX(3px);
    }

.btn-blue {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

    .btn-blue:hover {
        background: var(--blue-h);
        box-shadow: 0 5px 18px rgba(26,86,219,.28);
    }

/* ── TOP BAR ─────────────────────────────────────────────────────────── */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,.7);
    text-align: center;
    padding: 8px 16px;
    font-size: .75rem;
    font-weight: 500;
}

    .topbar strong {
        color: #fff;
    }

    .topbar a {
        color: #fff;
        font-weight: 700;
        border-bottom: 1px solid rgba(255,255,255,.4);
        margin-left: 10px;
    }

        .topbar a:hover {
            border-color: #fff;
        }

/* ── HEADER / NAV ────────────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

    .logo img {
        height: 34px;
        width: auto;
    }

.logo-fb {
    font-family: var(--hh);
    font-size: 1.15rem;
    color: var(--ink);
    display: none;
}

    .logo-fb em {
        font-style: italic;
        color: var(--blue);
    }

/* nav list */
.nl {
    display: flex;
    gap: 4px;
    list-style: none;
}

    .nl > li {
        position: relative;
    }

        .nl > li > a {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: .82rem;
            font-weight: 500;
            color: var(--body);
            transition: color .18s, background .18s;
            white-space: nowrap;
        }

            .nl > li > a:hover,
            .nl > li.active > a {
                color: var(--ink);
                background: var(--bg);
            }

/* chevron */
.chev {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform .2s;
}

.nl > li:hover > a .chev {
    transform: rotate(180deg);
}

/* dropdown */
.dd {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 32px rgba(13,33,55,.12);
    min-width: 230px;
    padding: 8px 6px 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
    z-index: 600;
}

    .dd::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 0;
        right: 0;
        height: 8px;
    }

.nl > li:hover .dd,
.nl > li:focus-within .dd {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dd a {
    display: block;
    padding: 9px 14px;
    border-radius: 7px;
    font-size: .81rem;
    font-weight: 500;
    color: var(--body);
    transition: background .15s, color .15s;
    white-space: nowrap;
}

    .dd a:hover {
        background: var(--blue-lt);
        color: var(--blue);
    }

/* right-side nav items */
.nav-r {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-ph {
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink);
}

    .nav-ph:hover {
        color: var(--blue);
    }

/* hamburger */
.ham {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

    .ham span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: .2s;
    }

/* ── ARTICLE LIST CONTAINER ──────────────────────────────────────────── */
.al-container {
    width: 100%;
    min-height: 60vh;
    padding: 60px 100px;
}

/* ── ARTICLE CATEGORY SECTION ────────────────────────────────────────── */
.al-category {
    margin-bottom: 48px;
}

.al-category-categ {
    font-family: var(--hh);
    font-size: clamp(1.45rem, 2.9vw, 3rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-top: 60px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.al-category-title {
    font-family: var(--hh);
    font-size: clamp(1.45rem, 2.1vw, 1.5rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--blue);
    display: inline-block;
}

.al-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}



.al-num {
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
    min-width: 24px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* ── ARTICLE LIST ITEMS ──────────────────────────────────────────────── */
.al-list li {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid transparent;
    border-radius: 10px;
    padding: 15px 20px;
    transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

    .al-list li:hover {
        background: #EEF6FF;
        border-left-color: #0E7ABF;
        border-color: #C3DEFA;
        border-left-color: #0E7ABF;
        box-shadow: 0 3px 14px rgba(14,122,191,.13);
    }

/* ── ARTICLE LINKS ─────────────────────────────────────────────────────
   Target by container so no specificity war with :visited or global resets.
   LVHA order strictly followed: Link → Visited → Hover → Active
─────────────────────────────────────────────────────────────────────── */
.al-list a:link {
    color: #1B4FD8;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.al-list a:visited {
    color: #7B6FCC;
}

.al-list a:hover {
    color: #0369A1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.al-list a:active {
    color: #0D2137;
}

/* ── WHATSAPP FLOAT & BACK-TO-TOP ────────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
    z-index: 900;
    transition: transform .2s;
}

    .wa-float:hover {
        transform: scale(1.1);
    }

    .wa-float svg {
        width: 26px;
        height: 26px;
        fill: #fff;
    }

.btt-btn {
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,.2);
    z-index: 900;
    transition: background .2s;
}

    .btt-btn.show {
        display: flex;
    }

    .btt-btn:hover {
        background: var(--blue);
    }

/* ── FOOTER ──────────────────────────────────────────────────────────── */
footer {
    background: #070F1A;
    font-family: var(--hb);
}

.ft-main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    padding: 52px 0 44px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.ft-brand {
    flex: 0 0 32%;
    max-width: 32%;
    padding-right: 48px;
    box-sizing: border-box;
}

.ft-desc {
    margin-top: 18px;
    font-size: .79rem;
    color: rgba(255,255,255,.32);
    line-height: 1.88;
    max-width: 230px;
}

.ft-addr {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .ft-addr a,
    .ft-addr span {
        font-size: .77rem;
        color: rgba(255,255,255,.38);
        display: flex;
        align-items: flex-start;
        gap: 7px;
        transition: color .16s;
        font-style: normal;
        line-height: 1.5;
    }

        .ft-addr a:hover {
            color: rgba(255,255,255,.82);
        }

.ft-col {
    flex: 0 0 22.67%;
    max-width: 22.67%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    padding-right: 24px;
}

    .ft-col:last-child {
        padding-right: 0;
    }

.ft-col-head {
    display: block;
    width: 100%;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    line-height: 1;
}

.ft-col ul {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 100%;
}

    .ft-col ul li {
        margin: 0;
        padding: 0;
    }

        .ft-col ul li a {
            font-size: .8rem;
            color: rgba(255,255,255,.46);
            transition: color .16s;
            display: block;
            line-height: 1.5;
        }

            .ft-col ul li a:hover {
                color: rgba(255,255,255,.92);
            }

.ft-soc-wrap {
    margin-top: 28px;
    width: 100%;
}

.ft-soc-head {
    display: block;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 14px;
    line-height: 1;
}

.ft-soc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .ft-soc a {
        width: 32px;
        height: 32px;
        border-radius: 7px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.1);
        display: grid;
        place-items: center;
        color: rgba(255,255,255,.5);
        transition: all .18s;
        text-decoration: none;
        flex-shrink: 0;
    }

        .ft-soc a:hover {
            background: var(--blue);
            border-color: var(--blue);
            color: #fff;
        }

        .ft-soc a svg {
            width: 15px;
            height: 15px;
            fill: currentColor;
            display: block;
        }

.ft-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0;
}

.ft-copy {
    font-size: .71rem;
    color: rgba(255,255,255,.2);
    line-height: 1.6;
}

    .ft-copy a {
        color: rgba(255,255,255,.34);
        transition: color .16s;
    }

        .ft-copy a:hover {
            color: rgba(255,255,255,.68);
        }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .nl, .nav-ph, .desk-cta {
        display: none;
    }

    .ham {
        display: flex;
    }

    .nl.open {
        display: flex;
        flex-direction: column;
        gap: 0;
        list-style: none;
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        overflow-y: auto;
        padding: 12px 0;
        z-index: 400;
    }

        .nl.open > li > a {
            padding: 13px 5%;
            font-size: .92rem;
            border-radius: 0;
            border-bottom: 1px solid var(--bg2);
        }

        .nl.open .dd {
            position: static;
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: none;
            box-shadow: none;
            border: none;
            border-radius: 0;
            background: var(--bg);
            padding: 4px 0 4px 24px;
            display: none;
        }

        .nl.open li.mob-open .dd {
            display: block;
        }

        .nl.open .dd a {
            padding: 10px 5%;
            border-radius: 0;
            font-size: .85rem;
        }

        .nl.open .chev {
            margin-left: auto;
        }

    .al-container {
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .al-container {
        padding: 32px 16px;
    }
}

@media (max-width: 500px) {
    .caption-box {
        flex: 1 1 100%;
    }
}

/* Footer responsive */
@media (max-width: 900px) {

    .caption-box {
        flex: 1 1 50%;
    }

    .ft-main {
        flex-wrap: wrap;
    }

    .ft-brand {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.07);
        padding-bottom: 26px;
        margin-bottom: 26px;
    }

    .ft-col {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 580px) {
    .ft-col {
        flex: 0 0 100%;
    }

    .ft-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ── ARTICLE LIST INTRO ──────────────────────────────────────────────── */
.al-intro {
    max-width: 820px;
    margin: 24px auto 0;
    padding: 0 20px;
    font-size: .95rem;
    color: var(--body);
    line-height: 1.85;
    text-align: left;
}
