@font-face { font-family: "Raleway"; src: url("../../fonts/ralewayl.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../../fonts/raleway.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../../fonts/ralewaysb.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../../fonts/ralewayb.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
    --navy: #1d3a5f;
    --navy-dark: #10243d;
    --accent: #ec4613;
    --accent-dark: #c93a0d;
    --ink: #1f2937;
    --muted: #5b6676;
    --line: #e3e8ef;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16, 36, 61, .08);
    --shadow-lg: 0 20px 50px rgba(16, 36, 61, .16);
    --max: 1180px;
    --header-h: 94px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
    margin: 0;
    font-family: "Raleway", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg-soft);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 26px; border-radius: 10px;
    font-weight: 700; font-size: .95rem; letter-spacing: .02em;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(236, 70, 19, .35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Header (transparent over the banner, like the old site) ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 70%, rgba(0, 0, 0, 0) 100%);
    transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: var(--navy-dark); box-shadow: 0 8px 28px rgba(0, 0, 0, .25); }
.nav { display: flex; align-items: stretch; height: var(--header-h); padding-left: 40px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.nav-logo img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 20px 0 0; padding: 0; }
.nav-links a {
    position: relative; display: block; padding: 10px 14px;
    font-size: .95rem; font-weight: 600; color: #fff; text-transform: uppercase; white-space: nowrap;
    letter-spacing: .01em; transition: color .2s;
}
.nav-links a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-login {
    position: relative; overflow: hidden;
    align-self: center; height: 46px;
    display: flex; align-items: center; gap: 10px; padding: 0 22px 0 5px; margin-right: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f25a1f 0%, var(--accent) 50%, var(--accent-dark) 100%);
    color: #fff; box-shadow: 0 6px 18px rgba(236, 70, 19, .35);
    transition: box-shadow .3s, transform .3s;
}
/* light sweep on hover */
.nav-login::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.nav-login:hover::before { left: 130%; }
.nav-login:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(236, 70, 19, .5); }
.nav-login-icon {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; font-size: .9rem;
    background: rgba(255, 255, 255, .2);
    transition: background .3s, color .3s, transform .3s;
}
.nav-login:hover .nav-login-icon { background: #fff; color: var(--accent); transform: rotate(-8deg); }
.nav-login-text { font-size: .92rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .nav-login::before { display: none; } }
.nav-toggle {
    width: 86px; flex-shrink: 0; background: none; border: 0; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; width: 36px; height: 3px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.nav-toggle:hover span:nth-child(2) { transform: translateX(-5px); }

/* Slide-out menu */
.drawer-backdrop {
    position: fixed; inset: 0; z-index: 140; background: rgba(16, 36, 61, .5);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(340px, 86vw);
    background: var(--navy-dark); color: #fff; padding: 24px 28px;
    transform: translateX(100%); visibility: hidden; overflow-y: auto;
    transition: transform .35s ease, visibility .35s;
}
body.drawer-open .drawer { transform: none; visibility: visible; box-shadow: -20px 0 50px rgba(0, 0, 0, .3); }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-close {
    display: block; margin-left: auto; background: rgba(255, 255, 255, .1); border: 0; color: #fff;
    width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: background .2s;
}
.drawer-close:hover { background: var(--accent); }
.drawer ul { list-style: none; margin: 24px 0 0; padding: 0; }
.drawer li a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: .95rem;
    transition: color .2s, padding .2s;
}
.drawer li a:hover { color: var(--accent); padding-left: 10px; }
.drawer li a .fa { color: rgba(255, 255, 255, .4); }
.drawer .btn { width: 100%; justify-content: center; margin-top: 28px; }

/* ---------- Banner ---------- */
.page-banner {
    position: relative; color: #fff; padding: calc(var(--header-h) + 60px) 0 90px;
    background:
        linear-gradient(90deg, rgba(16, 36, 61, .85) 0%, rgba(16, 36, 61, .55) 55%, rgba(16, 36, 61, .25) 100%),
        url("../../images/blogger.jpg") center / cover no-repeat;
}
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255, 255, 255, .75); margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .fa { font-size: .7rem; }
.page-banner h1 {
    color: #fff; font-style: italic; font-weight: 700; text-transform: uppercase;
    font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: .03em; margin: 0 0 14px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .3);
}
.page-banner p { max-width: 620px; color: rgba(255, 255, 255, .88); font-size: 1.08rem; margin: 0 0 22px; }
.banner-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
}
.chip .fa { color: var(--accent); }

/* ---------- Layout ---------- */
.policy { padding: 0 0 90px; margin-top: -40px; position: relative; }
.policy-grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }

.toc {
    position: sticky; top: calc(var(--header-h) + 20px);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 22px 14px 18px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto;
}
.toc h2 {
    font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
    margin: 0 10px 12px;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
    display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px;
    font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.4;
    border-left: 3px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.toc a::before { content: counter(toc) "."; color: var(--muted); font-weight: 700; min-width: 20px; }
.toc a:hover { background: var(--bg-soft); color: var(--accent-dark); }
.toc a.active { background: rgba(236, 70, 19, .08); color: var(--accent-dark); border-left-color: var(--accent); }
.toc a.active::before { color: var(--accent); }

.policy-body { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 48px 40px; }
.policy-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.policy-section:last-child { border-bottom: 0; }
.policy-section h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 18px; }
.num {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
    display: grid; place-items: center; font-size: 1rem; font-weight: 700;
    background: rgba(236, 70, 19, .1); color: var(--accent-dark);
}
.policy-section h3 {
    font-size: 1.08rem; margin: 26px 0 10px; padding-left: 12px;
    border-left: 3px solid var(--accent);
}
.policy-section p { color: #3c4655; }

.list { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 8px; }
.list li { position: relative; padding-left: 28px; color: #3c4655; }
.list li::before {
    content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: .1em;
    font-size: .85em; color: var(--accent);
}
.list.two-col { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.list.topics li::before { content: "\f105"; font-size: 1.1em; top: 0; }
.list.topics a:hover { color: var(--accent-dark); text-decoration: underline; }

.callout {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent);
    border-radius: 12px; padding: 20px 24px; margin: 8px 0 20px;
}
.callout p { margin: 0; color: var(--navy); font-weight: 600; }
.callout .fa-file-text-o { color: var(--accent); margin-right: 8px; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 10px 0 22px; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.contact-card .fa { font-size: 1.4rem; color: var(--accent); margin-bottom: 10px; display: block; }
.contact-card h4 { margin: 0 0 6px; color: var(--navy); font-size: 1rem; }
.contact-card p { margin: 0; font-size: .95rem; }
.contact-card a { color: var(--accent-dark); font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }

.updated { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-soft); padding: 12px 18px; border-radius: 10px; font-weight: 600; color: var(--navy); }
.updated .fa { color: var(--accent); }

/* ---------- Footer (same as home page) ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); padding: 70px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0 0 4px; }
.footer-brand a { color: var(--accent); font-weight: 600; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer ul a { transition: color .2s, padding .2s; }
.site-footer ul a:hover { color: var(--accent); padding-left: 4px; }
.site-footer ul a[aria-current="page"] { color: #fff; font-weight: 700; }
.digital-india img { height: 64px; width: auto; }
.footer-bottom {
    margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center; font-size: .85rem; color: rgba(255, 255, 255, .55);
}

.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: var(--accent); color: #fff; font-size: 1.1rem; cursor: pointer;
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .nav-links a { padding: 10px 9px; font-size: .85rem; }
    .nav-links a::after { left: 9px; right: 9px; }
}
/* Not enough room for the links: keep LOGIN + menu button, links move into the slide-out menu */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav { padding-left: 20px; }
}
@media (max-width: 960px) {
    .policy-grid { grid-template-columns: 1fr; }
    .toc { position: static; max-height: none; }
    .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    :root { --header-h: 70px; }
    .nav { padding-left: 16px; }
    .nav-logo img { height: 34px; }
    .nav-login { height: 40px; padding: 0 16px 0 4px; gap: 8px; margin-right: 0; }
    .nav-login-icon { width: 32px; height: 32px; font-size: .8rem; }
    .nav-login-text { font-size: .85rem; letter-spacing: .08em; }
    .nav-toggle { width: 62px; }
    .nav-toggle span { width: 28px; }
    .page-banner { padding: calc(var(--header-h) + 40px) 0 76px; }
    .policy-body { padding: 8px 20px 24px; }
    .toc ol, .list.two-col, .contact-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media print {
    .site-header, .drawer, .drawer-backdrop, .toc, .to-top, .site-footer { display: none; }
    .page-banner { background: none; color: var(--ink); padding: 0 0 20px; }
    .page-banner h1, .page-banner p { color: var(--ink); text-shadow: none; }
    .policy { margin: 0; }
    .policy-grid { display: block; }
    .policy-body { box-shadow: none; padding: 0; }
}
.footer-brand .footer-gap { margin-top: 14px; }
