/* ========================================================================
   IMPSPRGM · Template style
   Reconstructed from the Wayback Machine snapshot of impsprgm.uz (2024-02-02)
   Base: BootstrapMade Presento-style corporate template
   ======================================================================== */

:root {
  --accent: #2487ce;
  --accent-dark: #1a6aa3;
  --dark: #222222;
  --muted: #444444;
  --light: #f5f6f8;
  --bus-cmd: #2487ce;
  --bus-proc: #27ae60;
  --bus-irq: #e67e22;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Open Sans", sans-serif;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5, h6 { font-family: "Raleway", sans-serif; }
section { padding: 60px 0; overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }

.section-title { text-align: center; padding-bottom: 30px; }
.section-title h2 {
  font-size: 14px; font-weight: 500;
  padding: 0; line-height: 1px; margin: 0 0 5px;
  letter-spacing: 2px; text-transform: uppercase;
  color: #aaaaaa;
  font-family: "Poppins", sans-serif;
}
.section-title h2::after {
  content: ""; width: 120px; height: 1px;
  display: inline-block; background: var(--accent);
  margin: 4px 10px;
}
.section-title p {
  margin: 0; font-size: 36px; font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: var(--dark);
}

/* ============ Header ============ */
#header {
  transition: all .5s;
  z-index: 997;
  padding: 15px 0;
  background: rgba(25, 28, 31, .8);
  position: fixed; top: 0; left: 0; right: 0;
}
#header.header-scrolled {
  background: rgba(25, 28, 31, .95);
  padding: 12px 0;
}
#header .logo {
  font-size: 30px; margin: 0; padding: 0;
  line-height: 1; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}
#header .logo a { color: #fff; }
.navbar { padding: 0; }
.navbar ul {
  margin: 0; padding: 0; display: flex;
  list-style: none; align-items: center;
}
.navbar a {
  display: flex; align-items: center;
  padding: 10px 0 10px 30px;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  transition: .3s;
}
.navbar a:hover, .navbar .active { color: #fff; }

/* ============ Hero ============ */
#hero {
  width: 100%; height: 100vh;
  background: url("../img/hero-bg.svg") center/cover no-repeat;
  position: relative;
}
#hero:before {
  content: "";
  background: rgba(25, 28, 31, .7);
  position: absolute; inset: 0;
}
#hero .container {
  position: relative; z-index: 2;
  padding-top: 80px;
  text-align: center;
}
#hero h1 {
  margin: 0 0 10px;
  font-size: 56px; font-weight: 700;
  line-height: 64px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}
#hero h2 {
  color: rgba(255,255,255,.9);
  margin-bottom: 30px;
  font-size: 24px; font-weight: 400;
}
#hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out .3s;
  border: 1px solid rgba(255,255,255,.15);
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,.25);
}
#hero .icon-box i {
  font-size: 40px; line-height: 1;
  color: #fff;
  margin-bottom: 18px;
  display: inline-block;
}
#hero .icon-box h3 {
  font-weight: 600; margin: 0;
  font-size: 16px; line-height: 24px;
  color: #fff;
}
#hero .icon-box:hover {
  border-color: var(--accent);
  background: rgba(36,135,206,.2);
}

/* ============ About ============ */
.about .content h3 {
  font-weight: 600; font-size: 26px;
  color: var(--dark);
}
.about .content p { margin-bottom: 20px; }

/* ============ Clients / tech stack ============ */
.clients .clients-wrap {
  border-top: 1px solid #e8e8e8;
  border-left: 1px solid #e8e8e8;
  margin-bottom: 30px;
}
.clients .client-logo {
  padding: 50px 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  min-height: 160px;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  overflow: hidden;
}
.clients .client-logo img {
  transition: all .4s ease-in-out;
  max-height: 64px;
  filter: grayscale(100);
  opacity: .6;
}
.clients .client-logo img:hover {
  filter: none; opacity: 1;
  transform: scale(1.08);
}

/* ============ Features ============ */
.features { padding-top: 30px; }
.features .icon-box {
  padding: 40px 30px;
  transition: ease-in-out .3s;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68,88,144,.1);
  height: 100%;
}
.features .icon-box h4 {
  font-weight: 700; margin-bottom: 15px;
  font-size: 22px;
  color: var(--dark);
}
.features .icon-box i {
  font-size: 46px; line-height: 1;
  margin-bottom: 18px;
  color: var(--accent);
}
.features .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(68,88,144,.2);
}

/* ============ Services ============ */
.services { background: #f6f7fb; }
.services .icon-box {
  background: #fff;
  padding: 30px;
  height: 100%;
  border-radius: 6px;
  transition: .3s ease-in-out;
  border: 1px solid #eef0f4;
}
.services .icon-box i {
  font-size: 42px;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
}
.services .icon-box h4 a { color: var(--dark); transition: .3s; }
.services .icon-box h4 a:hover { color: var(--accent); }
.services .icon-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

/* ============ About-2 / IMPSPRGM Innovations ============ */
.about2 { background: #fff; }
.about2 .content h3 {
  font-size: 26px; font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}
.about2 .content p { margin-bottom: 14px; }
.about2 .image img { width: 100%; border-radius: 6px; }

/* ============ Counts / result ============ */
.counts {
  background: #f6f7fb;
  padding: 40px 0;
}
.counts .content h3 {
  font-weight: 700; font-size: 22px;
  color: var(--dark);
  margin-bottom: 14px;
}
.counts .content ul { list-style: none; padding: 0; }
.counts .content ul li {
  padding-bottom: 10px;
  display: flex; align-items: flex-start;
}
.counts .content ul li i {
  color: var(--accent);
  font-size: 20px;
  padding-right: 10px;
  flex-shrink: 0;
}

/* ============ Testimonials / stack strip ============ */
.testimonials {
  background: linear-gradient(135deg, #1a2b3c, #24384f);
  position: relative;
  color: #fff;
  padding: 80px 0;
}
.testimonials .container { position: relative; z-index: 2; }
.testimonials h3 {
  font-size: 22px; line-height: 1.6;
  color: #fff; font-weight: 400;
}
.testimonials h3 b { color: #fff; font-weight: 700; }

/* ============ Contact ============ */
.contact { background: #fff; }
.contact .info-box {
  padding: 30px;
  background: #f6f7fb;
  border-radius: 6px;
  height: 100%;
}
.contact .info-box i {
  font-size: 34px;
  color: var(--accent);
  border-radius: 50%;
  padding: 10px;
  background: #eaf3fb;
  margin-right: 12px;
}
.contact .info-box h3 {
  font-size: 18px; font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px 0;
}
.contact .info-box p { margin: 0; color: #555; font-size: 15px; }

/* ============ Footer ============ */
#footer {
  background: #191c1f;
  color: #fff;
  padding: 30px 0 20px;
  text-align: center;
}
#footer .credits {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 8px;
}

/* ============ Inner page (technology) ============ */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #0f1d2b, #1b3350);
  color: #fff;
  text-align: center;
}
.page-hero h1 {
  font-size: 42px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin: 0 0 12px;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 800px;
  margin: 0 auto;
}

.prose { line-height: 1.75; font-size: 16px; color: #333; }
.prose h2 {
  font-size: 28px; font-weight: 700;
  color: var(--dark);
  margin: 40px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.prose h3 {
  font-size: 21px; font-weight: 700;
  color: var(--dark);
  margin: 28px 0 10px;
}
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; }
.prose ul li { margin-bottom: 6px; }
.prose code {
  background: #f2f4f7;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: #b03a3a;
}
.prose pre {
  background: #0f1d2b;
  color: #dae6f0;
  padding: 18px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  overflow-x: auto;
  margin: 0 0 20px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 24px;
  font-size: 14.5px;
}
.prose th, .prose td {
  padding: 10px 14px;
  border: 1px solid #e2e7ef;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: #f6f7fb;
  font-weight: 700;
  color: var(--dark);
}
.figure {
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 10px;
  padding: 16px;
  margin: 28px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.figure img { width: 100%; height: auto; }
.figure figcaption {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  font-style: italic;
}

.callout {
  border-left: 4px solid var(--accent);
  background: #eaf3fb;
  padding: 16px 20px;
  border-radius: 4px;
  margin: 20px 0;
}
.callout.green { border-color: #27ae60; background: #e6f6ec; }
.callout.orange { border-color: #e67e22; background: #fcf0e1; }
.callout h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.callout p { margin: 0; font-size: 14.5px; }

/* ============ Shared Resources / BOM section (technology page) ============ */
.bom-section {
  background: #f9fafc;
  padding: 70px 0;
  border-top: 1px solid #e2e7ef;
}
.bom-intro {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}
.bom-intro h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  font-family: "Poppins", sans-serif;
  margin: 0 0 10px;
}
.bom-intro p {
  font-size: 15.5px;
  color: #555;
  margin: 0;
}
.bom-category {
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  padding: 26px 26px 20px;
  height: 100%;
  transition: all .25s ease-in-out;
  box-shadow: 0 2px 8px rgba(0,0,0,.02);
}
.bom-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(68,88,144,.12);
  border-color: var(--accent);
}
.bom-category .cat-head {
  display: flex; align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #eef1f5;
}
.bom-category .cat-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: #eaf3fb;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.bom-category .cat-icon i { line-height: 1; }
.bom-category h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  font-family: "Poppins", sans-serif;
  line-height: 1.3;
}
.bom-category .cat-subtitle {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-top: 3px;
}
.bom-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #eef1f5;
  align-items: flex-start;
}
.bom-item:last-child { border-bottom: none; }
.bom-item .strike {
  font-size: 13.5px;
  color: #999;
  text-decoration: line-through;
  text-decoration-color: #c0392b;
  min-width: 150px;
  flex-shrink: 0;
  padding-top: 1px;
}
.bom-item .arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.bom-item .repl {
  font-size: 13.5px;
  color: #333;
  line-height: 1.5;
}
.bom-item .repl b {
  color: #1a4a70;
  font-weight: 600;
}

.bom-savings {
  background: linear-gradient(135deg, #0f1d2b, #1b3350);
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-top: 36px;
  text-align: center;
}
.bom-savings h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff;
}
.bom-savings .stats {
  display: flex; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.bom-savings .stat b {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #7fbfe8;
  font-family: "Poppins", sans-serif;
  line-height: 1;
}
.bom-savings .stat span {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 6px;
  display: inline-block;
}

@media (max-width: 600px) {
  .bom-item { flex-direction: column; gap: 4px; }
  .bom-item .strike { min-width: 0; }
  .bom-item .arrow { display: none; }
  .bom-savings .stats { gap: 20px; }
}

/* ============ License top bar ============ */
.license-bar {
  background: #0f1d2b;
  color: #dbe4ee;
  font-size: 13px;
  padding: 8px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 998;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: "Poppins", sans-serif;
  letter-spacing: .2px;
}
.license-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.license-bar strong { color: #fff; font-weight: 600; }
.license-bar .pill {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 11.5px;
  color: #cfe2f3;
  margin-right: 8px;
  white-space: nowrap;
}
.license-bar a {
  color: #7fbfe8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* header sits below the license bar */
#header { top: 34px; }
body { padding-top: 34px; } /* leave room for the bar */

/* ============ License / IP section ============ */
.license-section {
  background: #f6f7fb;
  padding: 70px 0;
  border-top: 1px solid #e2e7ef;
  border-bottom: 1px solid #e2e7ef;
}
.license-section .section-title p { font-size: 30px; }
.license-card {
  background: #ffffff;
  border: 1px solid #e2e7ef;
  border-radius: 10px;
  padding: 28px 30px;
  height: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.license-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
}
.license-card h3 i {
  color: var(--accent);
  font-size: 22px;
}
.license-card .subtitle {
  font-size: 12.5px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.license-card p { margin: 0 0 10px; font-size: 14.5px; color: #444; }
.license-card ul { padding-left: 20px; margin: 0 0 10px; font-size: 14.5px; color: #444; }
.license-card ul li { margin-bottom: 4px; }

.pct-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}
.pct-table th, .pct-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e9edf2;
  text-align: left;
  vertical-align: top;
}
.pct-table th {
  width: 42%;
  color: #666;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.pct-table td {
  color: var(--dark);
  font-weight: 600;
}
.pct-table td.num {
  font-family: "Menlo", "Consolas", monospace;
  font-weight: 500;
  color: #1a4a70;
}

.legal-footer {
  background: #12161a;
  color: #b7c0c9;
  font-size: 12.5px;
  padding: 20px 0;
  text-align: center;
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,.06);
}
.legal-footer strong { color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 768px) {
  #hero h1 { font-size: 34px; line-height: 40px; }
  #hero h2 { font-size: 18px; }
  .section-title p { font-size: 28px; }
  .navbar ul { display: none; }
  .page-hero h1 { font-size: 30px; }
  .license-bar { font-size: 12px; padding: 6px 0; }
  .license-bar .pill { display: none; }
  #header { top: 30px; }
  body { padding-top: 30px; }
}
