/* BMRK Systems India — Liquid Glass visual layer
   Works with both the saved light and dark themes. */
:root {
  --glass-blur: 22px;
  --glass-saturate: 175%;
  --glass-radius: 22px;
  --glass-line: rgba(255,255,255,.72);
  --glass-shadow: 0 18px 48px rgba(10,42,75,.12), inset 0 1px 0 rgba(255,255,255,.82);
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(ellipse at 8% 12%, rgba(39,181,223,.075), transparent 32%),
    radial-gradient(ellipse at 94% 30%, rgba(255,152,25,.055), transparent 28%),
    #f4f8fc;
}

/* The slim utility strip and main navigation behave like floating glass. */
.utility-bar {
  background: linear-gradient(100deg, rgba(3,29,59,.94), rgba(5,55,91,.88));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-header {
  background: rgba(255,255,255,.76);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  backdrop-filter: blur(26px) saturate(190%);
  border-bottom: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 12px 34px rgba(8,39,69,.09), inset 0 1px 0 rgba(255,255,255,.92);
}
.nav-wrap { position: relative; }
.nav-link {
  border-radius: 999px;
  padding: 11px 12px;
  transition: color .22s, background .22s, transform .22s;
}
.nav-link:hover, .nav-link.active {
  background: rgba(8,115,189,.075);
}
.nav-link:after { left: 13px; right: calc(100% - 13px); bottom: 5px; }
.nav-link:hover:after, .nav-link.active:after { right: 13px; }
.dropdown-menu {
  background: rgba(255,255,255,.84);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  backdrop-filter: blur(24px) saturate(185%);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(7,37,66,.18), inset 0 1px 0 rgba(255,255,255,.95);
  padding: 12px;
}
.dropdown-menu a { border-radius: 11px; }
.menu-toggle, .theme-toggle {
  background: rgba(255,255,255,.66);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 7px 22px rgba(11,45,78,.08), inset 0 1px 0 rgba(255,255,255,.95);
}
.theme-toggle { border-color: rgba(8,94,151,.16); }

/* Hero becomes a large frosted panel over the photographic background. */
.hero-overlay {
  background:
    radial-gradient(ellipse at 72% 16%, rgba(52,195,237,.20), transparent 32%),
    linear-gradient(90deg, rgba(3,22,45,.94), rgba(4,33,66,.67) 57%, rgba(2,22,44,.32)),
    linear-gradient(0deg, rgba(4,29,55,.48), transparent 48%);
}
.hero-copy {
  position: relative;
  isolation: isolate;
  width: min(790px, 78%);
  max-width: 790px;
  padding: 42px 42px 38px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.155), rgba(255,255,255,.055) 58%, rgba(108,205,239,.09));
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  backdrop-filter: blur(24px) saturate(165%);
  box-shadow: 0 28px 80px rgba(0,12,29,.30), inset 0 1px 0 rgba(255,255,255,.33), inset 0 -1px 0 rgba(255,255,255,.08);
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.15), transparent 26%, transparent 72%, rgba(255,255,255,.075));
}
.hero-slides { min-height: 0; }
.hero h1 { text-shadow: 0 2px 22px rgba(0,20,42,.18); }
.hero-side-note {
  right: 0;
  padding: 18px 13px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero-controls { gap: 16px; }
.hero-arrows button {
  background: rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.hero-bottom {
  background: rgba(3,20,42,.58);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  border-top: 1px solid rgba(255,255,255,.22);
}

/* Floating translucent surfaces across the company sections. */
.trust-strip {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.74);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(205,224,238,.72);
  box-shadow: 0 10px 28px rgba(11,49,82,.045);
}
.intro-section, .industries-section, .insights-section {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,248,253,.92));
}
.services-section, .why-section, .contact-section {
  background: linear-gradient(135deg, rgba(239,247,252,.96), rgba(248,251,254,.94));
}
.intro-image {
  border-radius: 24px 54px 24px 24px;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 24px 55px rgba(5,34,62,.18), inset 0 1px 0 rgba(255,255,255,.35);
}
.intro-caption {
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 16px 42px rgba(7,37,66,.12), inset 0 1px 0 rgba(255,255,255,.92);
}
.service-card, .insight-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(246,251,255,.68));
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  box-shadow: 0 14px 34px rgba(8,43,75,.075), inset 0 1px 0 rgba(255,255,255,.96);
}
.service-card:hover, .insight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(94,190,226,.55);
  box-shadow: 0 24px 52px rgba(8,43,75,.14), inset 0 1px 0 rgba(255,255,255,.98);
}
.service-image { border-radius: 20px 20px 0 0; }
.service-content { padding: 23px 23px 21px; }
.industry-card {
  border-radius: 19px;
  border: 1px solid rgba(255,255,255,.94);
  background: rgba(255,255,255,.64);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  box-shadow: 0 10px 28px rgba(8,43,75,.055), inset 0 1px 0 rgba(255,255,255,.9);
}
.industry-card:hover { background: rgba(255,255,255,.9); }
.solution-tile, .approach-card {
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border-color: rgba(185,225,246,.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.17), 0 16px 38px rgba(0,15,35,.12);
}
.solution-tile:hover, .approach-card:hover {
  background: linear-gradient(145deg, rgba(255,255,255,.19), rgba(255,255,255,.075));
  border-color: rgba(125,218,247,.55);
}
.why-section { position: relative; }
.why-item { border-color: rgba(146,177,201,.32); }
.contact-banner {
  background: linear-gradient(105deg, rgba(5,66,112,.94), rgba(5,37,75,.91)), radial-gradient(circle at 85% 20%, rgba(60,190,230,.25), transparent 40%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.contact-form {
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(247,251,254,.70));
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  backdrop-filter: blur(22px) saturate(175%);
  box-shadow: 0 22px 54px rgba(6,39,72,.11), inset 0 1px 0 rgba(255,255,255,.98);
}
.form-grid input, .form-grid select, .form-grid textarea {
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  border-color: rgba(155,184,207,.46);
  box-shadow: inset 0 1px 2px rgba(15,55,87,.035);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  background: rgba(255,255,255,.96);
  box-shadow: 0 0 0 4px rgba(39,181,223,.13), inset 0 1px 2px rgba(15,55,87,.035);
}

/* Glass-like buttons retain the BMRK blue and orange brand accents. */
.button, .nav-cta, .footer-contact-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.button::after, .nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.28), transparent 42%, rgba(255,255,255,.08));
  opacity: .7;
  transition: opacity .22s, transform .35s;
}
.button:hover::after, .nav-cta:hover::after { opacity: 1; transform: translateX(3%); }
.button-orange, .nav-cta {
  background: linear-gradient(135deg, #ffad3f, #f28a08);
  border: 1px solid rgba(255,255,255,.33);
  box-shadow: 0 10px 26px rgba(239,139,16,.28), inset 0 1px 0 rgba(255,255,255,.48);
  border-radius: 999px;
}
.button-blue {
  background: linear-gradient(135deg, #168acb, #075b9b);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 25px rgba(8,108,177,.23), inset 0 1px 0 rgba(255,255,255,.32);
  border-radius: 999px;
}
.button-outline-light {
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.48);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20);
}
.button-light { border-radius: 999px; }
.nav-cta { border-radius: 999px; }

.detail-dialog {
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 26px;
  background: rgba(250,253,255,.90);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  backdrop-filter: blur(28px) saturate(185%);
  box-shadow: 0 30px 90px rgba(0,16,38,.32), inset 0 1px 0 rgba(255,255,255,.98);
}
.detail-dialog::backdrop {
  background: rgba(2,18,38,.48);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.dialog-close { border: 1px solid rgba(255,255,255,.85); box-shadow: 0 5px 16px rgba(9,43,74,.10); }
.scroll-progress { background: rgba(8,57,93,.07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-footer {
  background: linear-gradient(135deg, #031a35, #062b50 60%, #073c60);
  border-top: 1px solid rgba(255,255,255,.20);
}
.footer-brand img { border-radius: 10px; box-shadow: 0 8px 25px rgba(0,0,0,.12); }

/* Dark mode uses the same frosted-glass language with midnight-blue surfaces. */
html[data-theme="dark"] body {
  background:
    radial-gradient(ellipse at 8% 12%, rgba(39,181,223,.10), transparent 34%),
    radial-gradient(ellipse at 94% 28%, rgba(255,152,25,.07), transparent 30%),
    #07192a;
}
html[data-theme="dark"] .site-header {
  background: rgba(7,25,44,.72);
  border-bottom-color: rgba(150,207,237,.17);
  box-shadow: 0 12px 38px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10);
}
html[data-theme="dark"] .nav-link:hover, html[data-theme="dark"] .nav-link.active { background: rgba(75,177,220,.13); }
html[data-theme="dark"] .dropdown-menu {
  background: rgba(12,39,62,.88);
  border-color: rgba(155,211,239,.20);
  box-shadow: 0 24px 60px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.11);
}
html[data-theme="dark"] .menu-toggle, html[data-theme="dark"] .theme-toggle {
  background: rgba(13,43,68,.76);
  border-color: rgba(145,205,235,.22);
  box-shadow: 0 8px 24px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.11);
}
html[data-theme="dark"] .hero-copy {
  background: linear-gradient(135deg, rgba(12,47,77,.62), rgba(8,30,52,.44) 58%, rgba(16,78,105,.27));
  border-color: rgba(151,215,243,.28);
  box-shadow: 0 28px 80px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.17), inset 0 -1px 0 rgba(255,255,255,.06);
}
html[data-theme="dark"] .trust-strip {
  background: rgba(9,31,50,.74);
  border-color: rgba(145,197,225,.16);
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
}
html[data-theme="dark"] .intro-section, html[data-theme="dark"] .industries-section, html[data-theme="dark"] .insights-section {
  background: linear-gradient(135deg, rgba(8,29,47,.96), rgba(11,38,60,.94));
}
html[data-theme="dark"] .services-section, html[data-theme="dark"] .why-section, html[data-theme="dark"] .contact-section {
  background: linear-gradient(135deg, rgba(10,34,55,.97), rgba(12,42,66,.94));
}
html[data-theme="dark"] .intro-caption {
  background: rgba(12,42,66,.76);
  border-color: rgba(145,205,235,.20);
  box-shadow: 0 16px 42px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.11);
}
html[data-theme="dark"] .service-card, html[data-theme="dark"] .insight-card,
html[data-theme="dark"] .industry-card, html[data-theme="dark"] .contact-form {
  background: linear-gradient(145deg, rgba(17,51,77,.82), rgba(10,34,56,.76));
  border-color: rgba(145,205,235,.19);
  box-shadow: 0 16px 38px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.10);
}
html[data-theme="dark"] .industry-card:hover { background: rgba(24,66,96,.88); }
html[data-theme="dark"] .solution-tile, html[data-theme="dark"] .approach-card {
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  border-color: rgba(145,205,235,.24);
}
html[data-theme="dark"] .form-grid input, html[data-theme="dark"] .form-grid select, html[data-theme="dark"] .form-grid textarea {
  background: rgba(4,23,40,.66);
  border-color: rgba(130,181,211,.30);
}
html[data-theme="dark"] .form-grid input:focus, html[data-theme="dark"] .form-grid select:focus, html[data-theme="dark"] .form-grid textarea:focus { background: rgba(5,28,48,.94); }
html[data-theme="dark"] .detail-dialog {
  background: rgba(11,38,60,.92);
  border-color: rgba(145,205,235,.24);
  box-shadow: 0 30px 90px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.12);
}
html[data-theme="dark"] .detail-dialog::backdrop { background: rgba(0,8,20,.64); }
html[data-theme="dark"] .dialog-close { background: rgba(30,71,99,.76); border-color: rgba(145,205,235,.18); }

@media (max-width: 900px) {
  .site-header { background: rgba(255,255,255,.82); }
  .primary-nav {
    background: rgba(250,253,255,.86);
    border: 1px solid rgba(255,255,255,.92);
    border-top: 1px solid rgba(196,220,237,.72);
    border-radius: 0 0 24px 24px;
    -webkit-backdrop-filter: blur(28px) saturate(185%);
    backdrop-filter: blur(28px) saturate(185%);
    box-shadow: 0 22px 48px rgba(5,35,66,.15), inset 0 1px 0 rgba(255,255,255,.95);
  }
  html[data-theme="dark"] .site-header { background: rgba(7,25,44,.82); }
  html[data-theme="dark"] .primary-nav {
    background: rgba(8,30,49,.90);
    border-color: rgba(145,205,235,.18);
    box-shadow: 0 22px 48px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.10);
  }
  .hero-inner { width: calc(100% - 40px); }
  .hero-copy { width: min(100%, 720px); padding: 34px 30px 30px; border-radius: 26px; }
}
@media (max-width: 600px) {
  .utility-bar { background: rgba(3,29,59,.96); }
  .hero-inner { width: calc(100% - 30px); }
  .hero-copy { width: 100%; padding: 28px 20px 24px; border-radius: 22px; }
  .hero h1 { font-size: clamp(36px, 9.8vw, 46px); }
  .hero-actions { max-width: none; }
  .hero-actions .button { width: 100%; }
  .hero-controls { gap: 11px; }
  .service-card, .insight-card, .industry-card, .approach-card { border-radius: 18px; }
  .contact-form { border-radius: 20px; }
  .intro-caption { border-radius: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .dropdown-menu, .menu-toggle, .theme-toggle, .hero-copy, .trust-strip,
  .intro-caption, .service-card, .insight-card, .industry-card, .solution-tile,
  .approach-card, .contact-form, .detail-dialog { background-color: rgba(245,250,254,.96); }
  html[data-theme="dark"] .site-header, html[data-theme="dark"] .dropdown-menu,
  html[data-theme="dark"] .menu-toggle, html[data-theme="dark"] .theme-toggle,
  html[data-theme="dark"] .hero-copy, html[data-theme="dark"] .trust-strip,
  html[data-theme="dark"] .intro-caption, html[data-theme="dark"] .service-card,
  html[data-theme="dark"] .insight-card, html[data-theme="dark"] .industry-card,
  html[data-theme="dark"] .contact-form, html[data-theme="dark"] .detail-dialog { background-color: rgba(9,34,55,.97); }
}
