/* Hindustan Infotech — premium navy/cyan brand layer.
   Kept separate from generated Tailwind output so future CSS builds do not erase it. */
:root {
  color-scheme: dark;
  --hi-bg: #060b19;
  --hi-surface: #0a1428;
  --hi-surface-raised: #101f38;
  --hi-line: rgba(148, 163, 184, .16);
  --hi-cyan: #22d3ee;
  --hi-blue: #3b82f6;
  --hi-text: #f8fafc;
  --hi-muted: #a8b7cc;
  --hi-radius: 1.25rem;
}
html { scroll-padding-top: 5rem; }
body {
  background-color: var(--hi-bg);
  background-image: radial-gradient(ellipse at 50% -18rem, rgba(14, 116, 144, .16), transparent 42rem);
  color: var(--hi-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(34, 211, 238, .28); color: #fff; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--hi-cyan);
  outline-offset: 3px;
}
header.sticky {
  background: rgba(6, 11, 25, .88) !important;
  border-color: rgba(100, 116, 139, .24) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
header img[src$="logo.svg"] {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(270px, 58vw);
  object-fit: contain;
  object-position: left center;
  flex: 0 1 auto;
}
#admin-login-screen img[src$="logo.svg"] {
  height: 42px;
  max-width: min(250px, 62vw);
}
#admin-dashboard-view header img[src$="logo.svg"] {
  height: 40px;
  max-width: min(250px, 52vw);
}
#home {
  isolation: isolate;
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse at 50% 5%, rgba(6, 182, 212, .16), transparent 58%),
    radial-gradient(ellipse at 88% 72%, rgba(37, 99, 235, .11), transparent 42%),
    linear-gradient(180deg, rgba(7, 17, 34, .72), rgba(6, 11, 25, .1));
}
#home h1 {
  max-width: 58rem;
  letter-spacing: -.045em;
  line-height: 1.04;
  text-wrap: balance;
}
#home > div > p {
  max-width: 47rem;
  color: #bdcadd;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.85;
}
#home .inline-flex.rounded-full {
  border-color: rgba(34, 211, 238, .34);
  background: rgba(6, 182, 212, .075);
  letter-spacing: .13em;
  line-height: 1.6;
}
#home .mt-14.max-w-3xl {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-color: rgba(103, 232, 249, .18);
  background: linear-gradient(145deg, rgba(13, 29, 52, .96), rgba(7, 17, 34, .96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34), 0 0 0 1px rgba(34, 211, 238, .035);
}
main section:not(#home) { scroll-margin-top: 5.5rem; }
#services, #portfolio, #about, #contact { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
main section h2 {
  letter-spacing: -.035em;
  text-wrap: balance;
}
main section p { text-wrap: pretty; }
#services-grid > *, #portfolio-grid > *, #industries > div > div > div,
#about .grid > *, #process .grid > *, #contact .grid > * {
  border-color: var(--hi-line);
  border-radius: var(--hi-radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
#services-grid > *:hover, #portfolio-grid > *:hover, #industries > div > div > div:hover,
#about .grid > *:hover, #process .grid > *:hover {
  border-color: rgba(34, 211, 238, .42);
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .2);
}
#portfolio-filters { gap: .6rem; }
.portfolio-filter-btn {
  min-height: 42px;
  border-radius: 999px;
  padding-inline: 1.1rem;
}
#contact form, #contact .rounded-2xl {
  border-color: rgba(100, 116, 139, .2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .2);
}
input, select, textarea {
  accent-color: var(--hi-cyan);
}
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  border-color: rgba(148, 163, 184, .26);
  border-radius: .85rem;
  background-color: rgba(9, 20, 39, .88);
  min-height: 2.8rem;
}
textarea { min-height: 7rem; }
button, a[class*="bg-gradient-to-r"] {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
a[class*="bg-gradient-to-r"]:hover, button[class*="bg-gradient-to-r"]:hover {
  box-shadow: 0 12px 30px rgba(6, 182, 212, .2);
}
footer {
  border-color: var(--hi-line) !important;
}
#admin-login-screen {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(6, 182, 212, .13), transparent 38rem),
    var(--hi-bg);
}
#admin-login-screen > div {
  border-color: rgba(103, 232, 249, .2);
  background: linear-gradient(150deg, rgba(13, 29, 52, .98), rgba(8, 17, 34, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
}
#admin-dashboard-view > header {
  min-height: 4.25rem;
  border-color: var(--hi-line);
  background: rgba(8, 18, 36, .94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
#admin-sidebar {
  border-radius: 1.15rem;
}
#admin-sidebar .admin-tab-btn {
  min-height: 2.85rem;
  border-color: rgba(148, 163, 184, .14);
  background: rgba(12, 26, 48, .78);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
#admin-sidebar .admin-tab-btn:hover {
  border-color: rgba(34, 211, 238, .38);
  background: rgba(17, 43, 68, .92);
  transform: translateX(-2px);
}
#admin-sidebar .admin-tab-btn.bg-blue-600 {
  border-color: rgba(34, 211, 238, .34);
  background: linear-gradient(110deg, rgba(37, 99, 235, .94), rgba(8, 145, 178, .9));
  box-shadow: 0 8px 24px rgba(8, 145, 178, .16);
}
#admin-dashboard-view [id^="admin-panel-"] > div,
#admin-dashboard-view [id^="admin-panel-"] article {
  border-color: var(--hi-line);
  border-radius: 1rem;
}
#admin-dashboard-view table { width: 100%; }
#admin-dashboard-view th {
  color: #b9c9dd;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#admin-dashboard-view td, #admin-dashboard-view th {
  border-color: rgba(148, 163, 184, .14);
}
#admin-dashboard-view button, #admin-dashboard-view a {
  touch-action: manipulation;
}
@media (min-width: 1024px) {
  #admin-dashboard-view > .max-w-7xl { align-items: start; }
  #admin-sidebar { position: sticky; top: 5.5rem; max-height: calc(100vh - 6.5rem); overflow-y: auto; padding: .25rem; }
}
@media (max-width: 640px) {
  header img[src$="logo.svg"] { height: 36px; max-width: min(235px, 59vw); }
  #admin-dashboard-view header img[src$="logo.svg"] { height: 34px; max-width: 48vw; }
  #home { padding-top: 4.25rem; }
  #home h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); line-height: 1.08; }
  #home .mt-14.max-w-3xl { padding: .85rem; }
  #services, #portfolio, #about, #contact { padding-top: 3.75rem; padding-bottom: 3.75rem; }
  #admin-dashboard-view > .max-w-7xl { padding-top: 1rem; }
  #admin-login-screen > div { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* The legacy logo is a JPEG embedded in logo.svg. Lighten blending
   visually keys out its dark navy rectangle against the site surfaces
   without editing, redrawing, cropping, or stretching the original artwork. */
.site-logo,
header img[src$="logo.svg"],
#admin-login-screen img[src$="logo.svg"],
#admin-dashboard-view header img[src$="logo.svg"] {
  background: transparent !important;
  mix-blend-mode: lighten;
}
#admin-login-screen > div {
  background-color: #09172b;
}


/* Admin brand lockup: larger logo, clean two-line hierarchy, responsive fit. */
#admin-login-screen > div > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .85rem;
  row-gap: .55rem;
}
#admin-login-screen .site-logo {
  height: 54px;
  width: auto;
  max-width: min(100%, 320px);
  flex: 0 1 auto;
  object-fit: contain;
  object-position: left center;
}
#admin-login-screen .site-logo + div {
  margin-left: auto;
  text-align: right;
  flex: 0 1 auto;
}
#admin-login-screen .site-logo + div span {
  line-height: 1.55;
  letter-spacing: .12em;
}
#admin-dashboard-view header .site-logo {
  height: 46px;
  max-width: min(280px, 55vw);
}
@media (max-width: 640px) {
  #admin-login-screen .site-logo { height: 48px; max-width: min(100%, 290px); }
  #admin-login-screen .site-logo + div { margin-left: auto; }
  #admin-dashboard-view header .site-logo { height: 40px; max-width: 48vw; }
}


/* Public site header refinement: more breathing room and a larger, clearer brand mark. */
#public-website-view > header.sticky > div:first-child {
  height: 5rem;
  min-height: 5rem;
  gap: 1.25rem;
}
#public-website-view > header.sticky .site-brand {
  min-width: 0;
  flex: 0 1 auto;
}
#public-website-view > header.sticky .site-logo {
  height: 52px;
  width: auto;
  max-width: min(350px, 34vw);
  object-fit: contain;
  object-position: left center;
  image-rendering: auto;
  filter: contrast(1.08) saturate(1.06);
  transform: translateZ(0);
}
#public-website-view > header.sticky > div:first-child > div:last-child {
  gap: .75rem;
}
#public-website-view > header.sticky #open-tracker-btn,
#public-website-view > header.sticky a[href="#contact"] {
  min-height: 42px;
  padding-inline: 1rem;
  font-size: .8rem;
}
#public-website-view > header.sticky #mobile-menu-drawer {
  top: 5rem;
  max-height: calc(100vh - 6rem);
}
@media (min-width: 641px) and (max-width: 1023px) {
  #public-website-view > header.sticky > div:first-child {
    height: 4.5rem;
    min-height: 4.5rem;
  }
  #public-website-view > header.sticky .site-logo {
    height: 46px;
    max-width: min(270px, 34vw);
  }
  #public-website-view > header.sticky #mobile-menu-drawer {
    top: 4.5rem;
  }
}
@media (max-width: 640px) {
  #public-website-view > header.sticky > div:first-child {
    height: 4.25rem;
    min-height: 4.25rem;
    padding-inline: .9rem;
    gap: .5rem;
  }
  #public-website-view > header.sticky .site-logo {
    height: 40px;
    max-width: min(245px, 58vw);
  }
  #public-website-view > header.sticky #mobile-menu-drawer {
    top: 4.25rem;
    max-height: calc(100vh - 5rem);
  }
}

/* Premium HIT brand lockup — scalable symbol with crisp live text. */
#public-website-view .site-brand { gap: .8rem; min-width:0; }
#public-website-view .hit-symbol { width:58px; height:58px; object-fit:contain; flex:0 0 auto; }
#public-website-view .site-brand-copy { display:flex; flex-direction:column; gap:2px; line-height:1.08; white-space:nowrap; }
#public-website-view .site-brand-copy strong { color:#08bce8; font-size:clamp(1rem,1.55vw,1.35rem); font-weight:850; letter-spacing:-.035em; }
#public-website-view .site-brand-copy strong b { color:#f8fafc; font-weight:850; }
#public-website-view .site-brand-copy small { color:#c2d0e2; font-size:clamp(.58rem,.85vw,.72rem); letter-spacing:.015em; }
#public-website-view .hit-symbol-footer { width:54px; height:54px; object-fit:contain; }
#public-website-view .footer-brand-copy strong { font-size:1rem; }
#public-website-view .footer-brand-copy small { font-size:.58rem; }
@media(max-width:640px){
 #public-website-view .hit-symbol { width:48px;height:48px; }
 #public-website-view .site-brand { gap:.55rem; }
 #public-website-view .site-brand-copy strong { font-size:.91rem; }
 #public-website-view .site-brand-copy small { font-size:.53rem; }
}

/* Exact supplied HIT lockup; image includes its own wordmark and tagline. */
#public-website-view .hit-original-full { width: min(330px, 32vw); height: 76px; object-fit: contain; object-position: left center; }
#public-website-view .hit-original-footer { width: 290px; max-width:100%; height:auto; object-fit:contain; }
@media(max-width:640px){#public-website-view .hit-original-full{width:min(245px,62vw);height:62px;}}

/* Public header logo scale-up: make the full HIT wordmark and slogan readable. */
#public-website-view > header.sticky > div:first-child {
  height: 6.75rem !important;
  min-height: 6.75rem !important;
  gap: 1.5rem !important;
}
#public-website-view > header.sticky .site-brand {
  flex: 0 1 auto;
  min-width: 0;
}
#public-website-view > header.sticky .site-logo {
  display: block;
  height: 88px !important;
  width: auto !important;
  max-width: min(440px, 44vw) !important;
  object-fit: contain;
  object-position: left center;
}
#public-website-view > header.sticky #mobile-menu-drawer {
  top: 6.75rem;
  max-height: calc(100vh - 7.5rem);
}
@media (min-width: 641px) and (max-width: 1023px) {
  #public-website-view > header.sticky > div:first-child {
    height: 6rem !important;
    min-height: 6rem !important;
  }
  #public-website-view > header.sticky .site-logo {
    height: 76px !important;
    max-width: min(380px, 43vw) !important;
  }
  #public-website-view > header.sticky #mobile-menu-drawer { top: 6rem; }
}
@media (max-width: 640px) {
  #public-website-view > header.sticky > div:first-child {
    height: 5.25rem !important;
    min-height: 5.25rem !important;
    padding-inline: .9rem;
    gap: .5rem !important;
  }
  #public-website-view > header.sticky .site-logo {
    height: 66px !important;
    max-width: min(300px, 66vw) !important;
  }
  #public-website-view > header.sticky #mobile-menu-drawer { top: 5.25rem; }
}


/* Header wordmark readability: keep the supplied HIT symbol unchanged; enlarge only company name and slogan. */
#public-website-view > header.sticky .hit-original-full {
  width: auto !important;
  height: 66px !important;
  max-width: min(430px, 48vw) !important;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 640px) {
  #public-website-view > header.sticky .hit-original-full {
    height: 60px !important;
    max-width: min(330px, 72vw) !important;
  }
}


/* Final compact header: original HIT artwork + crisp vector company name and slogan. */
#public-website-view > header.sticky > div:first-child {
  height: 5rem !important;
  min-height: 5rem !important;
  gap: 1rem !important;
}
#public-website-view > header.sticky .hit-original-full {
  display: block;
  width: 336px !important;
  height: 80px !important;
  max-width: min(336px, 36vw) !important;
  object-fit: contain;
  object-position: left center;
  filter: none !important;
}
#public-website-view > header.sticky #mobile-menu-drawer {
  top: 5rem !important;
  max-height: calc(100vh - 5.5rem);
}
@media (min-width: 641px) and (max-width: 1023px) {
  #public-website-view > header.sticky > div:first-child {
    height: 4.75rem !important;
    min-height: 4.75rem !important;
  }
  #public-website-view > header.sticky .hit-original-full {
    width: 310px !important;
    height: 74px !important;
    max-width: min(310px, 38vw) !important;
  }
  #public-website-view > header.sticky #mobile-menu-drawer { top: 4.75rem !important; }
}
@media (max-width: 640px) {
  #public-website-view > header.sticky > div:first-child {
    height: 4.5rem !important;
    min-height: 4.5rem !important;
    padding-inline: .9rem;
    gap: .5rem !important;
  }
  #public-website-view > header.sticky .hit-original-full {
    width: min(260px, 68vw) !important;
    height: auto !important;
    max-width: min(260px, 68vw) !important;
  }
  #public-website-view > header.sticky #mobile-menu-drawer { top: 4.5rem !important; }
}


/* Responsive premium footer using the sharp HIT lockup. */
#public-website-view footer { padding-top:3.25rem; padding-bottom:1.5rem; font-size:.875rem; }
#public-website-view footer .hit-original-footer { display:block; width:min(310px,100%); height:auto; max-height:78px; object-fit:contain; object-position:left center; }
#public-website-view footer a { overflow-wrap:anywhere; }
#public-website-view footer ul { padding:0; margin:0; list-style:none; }
#public-website-view footer li + li { margin-top:.65rem; }
#public-website-view footer h3 { letter-spacing:.01em; }
@media (max-width:767px) {
 #public-website-view footer { padding:2.25rem 0 1.25rem; font-size:.875rem; }
 #public-website-view footer > div > .grid { grid-template-columns:minmax(0,1fr) !important; gap:1.75rem !important; padding-bottom:1.5rem; }
 #public-website-view footer .hit-original-footer { width:min(290px,86vw); max-height:72px; }
 #public-website-view footer > div > .pt-6 { align-items:flex-start; gap:.65rem; line-height:1.6; }
}
