/* AI Kavach: responsive public-page layout, using the Bharat1.ai palette. */
.b1-kavach {
  --page-width: 1180px;
  --header-height: 82px;
  --section-nav-height: 64px;
  --soft-line: rgba(211, 166, 255, .17);
  font-family: "Anek Devanagari", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; }
.b1-kavach a { color: inherit; text-decoration: none; }
.b1-kavach img { display: block; max-width: 100%; }
.b1-kavach p { margin: 0; color: #c7b9d8; font-size: 17px; line-height: 1.8; }
.b1-kavach h1, .b1-kavach h2, .b1-kavach h3 { margin: 0; color: #faf6ff; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; text-wrap: balance; }
.b1-kavach h2 { font-size: clamp(30px, 3.7vw, 48px); }
.b1-kavach h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.4; }
.container { width: min(calc(100% - 64px), var(--page-width)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; min-height: var(--header-height); border-bottom: 1px solid var(--soft-line); background: rgba(16, 10, 28, .97); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(calc(100% - 48px), 1320px); min-height: var(--header-height); margin: auto; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; padding: 10px 12px; border-radius: 10px; background: #f3eef7; }
.brand img { width: 158px; height: auto; }
.site-links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); padding: 0; margin: 0; list-style: none; }
.site-links a { display: inline-flex; align-items: center; min-height: 44px; color: #cfc2df; font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .18s ease; }
.site-links a:hover, .site-links a[aria-current] { color: #e2bdff; }
.site-links a[aria-current] { box-shadow: inset 0 -2px #c992ff; }
.menu-toggle { display: none; align-items: center; justify-content: center; flex-shrink: 0; width: 46px; height: 46px; border: 1px solid #6c527e; border-radius: 10px; background: #21152f; color: #fff; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .18s ease; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { position: absolute; content: ""; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }
.hero { position: relative; padding: clamp(48px, 6vw, 88px) 0 0; overflow: clip; background: radial-gradient(ellipse at 83% 28%, #52217b40, transparent 54%), #100a1c; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 48px; }
.hero-copy, .hero-visual { min-width: 0; }
.eyebrow, .small-label { display: inline-block; color: #d3a6ff; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; margin-bottom: 25px; border: 1px solid #6f418c; border-radius: 999px; background: #331b493b; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #d3a6ff; }
.hero h1 { font-size: clamp(58px, 6.8vw, 92px); letter-spacing: -.06em; line-height: 1.05; }
.hero h1 span { color: #d3a6ff; }
.hero .hero-subtitle { margin-top: 20px; color: #f4eafb; font-size: clamp(24px, 2.65vw, 35px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.hero .hero-description { max-width: 42ch; margin-top: 20px; font-size: 18px; line-height: 1.65; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-tags li { padding: 5px 11px; border: 1px solid #664e78; border-radius: 6px; color: #dacbe6; font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; border-radius: 9px; font-size: 15px; font-weight: 600; line-height: 1.4; transition: background .18s ease, border-color .18s ease; }
.button-primary { background: var(--b1-brand-gradient); border-color: #b76de3; color: #fff !important; }
.button-primary:hover { background: #8530cb; border-color: #e1bdff; }
.button-secondary { background: #1e132c; border-color: #6c527e; color: #f2e7fc; }
.button-secondary:hover { background: #2d1c40; border-color: #d3a6ff; }
.button span { font-size: 21px; line-height: 1; }
.hero-visual { position: relative; margin: 0; overflow: hidden; border: 1px solid #785397; border-radius: 24px; background: #1b102b; box-shadow: 0 22px 70px #05020966; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; object-position: center; }
.hero-visual figcaption { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 10px; padding: 22px; background: linear-gradient(transparent, #140b24 50%); color: #ebd7ff; font-size: 13px; }
.visual-mark { color: #cf9dff; }
.initiative-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 52px; padding-block: 25px; border-top: 1px solid var(--soft-line); }
.initiative-strip > span { color: #b5a3c9; font-size: 14px; }
.initiative-strip p { color: #eee1fa; font-size: 18px; font-weight: 600; }
.initiative-strip p span { padding-inline: 16px; color: #ba8ce2; font-weight: 400; }
.section-nav { position: sticky; top: var(--header-height); z-index: 30; border-block: 1px solid var(--soft-line); background: #171021; }
.section-nav-inner { display: flex; align-items: center; gap: 10px; min-height: var(--section-nav-height); }
.section-nav-label { margin-right: auto; color: #a995bf; font-size: 13px; }
.section-nav a { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 9px 17px; border: 1px solid transparent; border-radius: 8px; color: #cfc2df; font-size: 14px; font-weight: 500; }
.section-nav a:hover, .section-nav a[aria-current] { border-color: #684282; background: #2e1d41; color: #efd9ff; }
.section { padding: clamp(56px, 7vw, 90px) 0; scroll-margin-top: 168px; }
.section-heading { max-width: 680px; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading .section-intro { max-width: 52ch; margin-top: 18px; font-size: 18px; }
.overview-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.need-panel { display: grid; grid-template-columns: .8fr 1.65fr; align-items: start; gap: 48px; padding: 34px; margin-top: 38px; border: 1px solid var(--soft-line); border-radius: 18px; background: #1a1029; }
.need-heading .small-label { margin-bottom: 14px; }
.need-heading h3 { max-width: 20ch; font-size: 25px; }
.prose p + p { margin-top: 18px; }
.pillars-section { border-block: 1px solid var(--soft-line); background: #140d21; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar { min-width: 0; padding: 32px; border: 1px solid #503561; border-radius: 16px; background: linear-gradient(140deg, #241534, #1b112a); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.pillar-number { color: #d3a6ff; font-family: "Plus Jakarta Sans", sans-serif; font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -.04em; }
.pillar-top .small-label { color: #bca5ce; font-size: 10px; letter-spacing: .1em; text-align: right; }
.pillar h3 { max-width: 30ch; margin-bottom: 16px; }
.pillar p { font-size: 16px; }
.collaboration-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; gap: 40px; }
.lab-visual { position: sticky; top: 170px; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #5b3c70; border-radius: 18px; background: #20142f; }
.lab-visual img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; }
.lab-visual figcaption { padding: 16px 20px; border-top: 1px solid var(--soft-line); color: #cbb5dd; font-size: 13px; line-height: 1.6; }
.partner-role { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--soft-line); }
.partner-role h3 { margin: 7px 0 12px; }
.collaboration-outcome { padding-top: 28px; margin-top: 34px !important; border-top: 1px solid var(--soft-line); }
.contact-section { padding-bottom: 72px; }
.contact-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 5vw, 56px); border: 1px solid #755091; border-radius: 22px; background: radial-gradient(ellipse at 100% 0, #67309e55, transparent 70%), #241337; }
.contact-panel .eyebrow { margin-bottom: 18px; }
.contact-panel p { margin-top: 16px; }
.contact-panel .button { flex-shrink: 0; }
.page-footer { padding: 26px 0; border-top: 1px solid var(--soft-line); background: #0c0715; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: #c7b9d8; }
.footer-inner a:hover { color: #e2bdff; }
.footer-inner .footer-brand { color: #f7edff; font-weight: 600; }
.footer-brand span { color: #a995bf; font-weight: 400; }
@media (max-width: 1100px) {
  .menu-toggle { display: flex; margin-left: auto; }
  .primary-nav { display: none; position: absolute; top: calc(100% - 2px); left: 0; right: 0; padding: 12px; border: 1px solid #6a4981; border-radius: 12px; background: #1d1230; box-shadow: 0 22px 48px #0006; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .primary-nav.is-open { display: block; }
  .site-links { display: grid; gap: 2px; }
  .site-links a { display: flex; padding: 10px 15px; border-radius: 7px; font-size: 16px; }
  .site-links a:is(:hover, [aria-current]) { box-shadow: none; background: #352043; }
  .hero-grid { gap: 30px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { gap: 12px; padding-inline: 16px; }
}
@media (max-width: 820px) {
  .b1-kavach { --header-height: 74px; --section-nav-height: 60px; }
  .header-inner { width: calc(100% - 40px); }
  .brand img { width: 144px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: clamp(60px, 11vw, 82px); }
  .hero .hero-subtitle { font-size: 32px; }
  .hero .hero-description { max-width: 48ch; }
  .desktop-break { display: none; }
  .hero-visual { max-width: 640px; width: 100%; }
  .hero-visual img { aspect-ratio: 16 / 9; }
  .overview-intro { grid-template-columns: 1fr; gap: 20px; }
  .need-panel { grid-template-columns: 1fr; gap: 24px; }
  .need-heading h3 { max-width: 30ch; }
  .section { scroll-margin-top: 152px; }
  .pillars { gap: 16px; }
  .pillar { padding: 24px; }
  .pillar h3 { font-size: 20px; }
  .collaboration-grid { grid-template-columns: 1fr; gap: 28px; }
  .lab-visual { position: static; }
  .lab-visual img { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .hero { padding-top: 36px; }
  .hero .eyebrow { margin-bottom: 22px; font-size: 10px; }
  .hero h1 { font-size: clamp(50px, 14vw, 72px); }
  .hero .hero-subtitle { font-size: clamp(25px, 6.6vw, 31px); margin-top: 18px; }
  .hero .hero-description { font-size: 17px; }
  .hero-tags { margin-top: 20px; gap: 6px; }
  .hero-tags li { padding: 5px 9px; font-size: 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .hero-actions .button { width: 100%; min-height: 50px; }
  .hero-visual { border-radius: 16px; }
  .hero-visual figcaption { padding: 20px 14px 14px; font-size: 12px; }
  .initiative-strip { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 30px; padding-block: 20px; }
  .initiative-strip p { font-size: 18px; }
  .initiative-strip p span { padding-inline: 12px; }
  .section-nav-inner { gap: 6px; justify-content: space-between; }
  .section-nav-label { display: none; }
  .section-nav a { padding-inline: 10px; font-size: 13px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading .section-intro { font-size: 17px; }
  .section-heading h2 br { display: none; }
  .b1-kavach p { font-size: 16px; line-height: 1.8; }
  .need-panel { padding: 23px 20px; margin-top: 28px; border-radius: 14px; }
  .need-heading h3 { font-size: 23px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 25px 22px; }
  .pillar-top { margin-bottom: 23px; }
  .pillar h3 { font-size: 21px; }
  .lab-visual figcaption { padding: 13px 16px; }
  .contact-section { padding-bottom: 48px; }
  .contact-panel { flex-direction: column; align-items: stretch; gap: 25px; padding: 30px 24px; border-radius: 16px; }
  .contact-panel h2 { font-size: 32px; }
  .contact-panel .button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
