/* Velonixs Technology - responsive site theme */
:root {
  --brand: #0f63d6;
  --brand-dark: #073b7a;
  --brand-soft: #eaf3ff;
  --accent: #00b894;
  --ink: #172033;
  --muted: #647084;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --line: #dfe7f1;
  --shadow: 0 18px 48px rgba(16, 38, 74, 0.12);
  --shadow-soft: 0 10px 30px rgba(16, 38, 74, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  background: var(--surface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.navbar {
  padding-block: 0.85rem;
  backdrop-filter: blur(12px);
}

.navbar-brand {
  color: var(--brand-dark) !important;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(8.7rem, 16vw, 10.8rem);
  height: auto;
}

.nav-link {
  color: var(--ink) !important;
  font-weight: 650;
  margin-left: 0.65rem;
  padding: 0.65rem 0.85rem !important;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-dark) !important;
  background: var(--brand-soft);
}

.btn {
  border-radius: 8px;
  font-weight: 750;
  padding: 0.8rem 1.15rem;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 12px 24px rgba(15, 99, 214, 0.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-light {
  color: var(--brand-dark);
  background: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  color: var(--brand-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100vh - 76px));
  padding: clamp(4rem, 7vw, 7.5rem) 0 clamp(3rem, 5vw, 5rem);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 24, 48, 0.92), rgba(5, 35, 70, 0.78) 48%, rgba(5, 24, 48, 0.5)),
    url("../img/hero-dashboard.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--surface));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: min(720px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  color: #dff7f1;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  max-width: min(12ch, 100%);
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  line-height: 0.98;
  font-weight: 850;
}

.hero p {
  max-width: min(640px, 100%);
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.stat {
  padding: 1.2rem;
  background: rgba(4, 21, 42, 0.5);
}

.stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.section-heading h2,
.page-hero h1 {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  font-weight: 830;
}

.section-heading p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background:
    linear-gradient(135deg, rgba(15, 99, 214, 0.96), rgba(0, 184, 148, 0.84)),
    url("../img/hero-dashboard.png") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.page-hero h1,
.page-hero p {
  color: #fff;
}

.card,
.feature-card,
.service-card,
.value-card,
.contact-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card,
.feature-card,
.service-card,
.value-card,
.contact-card,
.process-step {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.feature-card:hover,
.service-card:hover,
.value-card:hover,
.contact-card:hover,
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 99, 214, 0.22);
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.value-card,
.contact-card {
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.icon-box {
  display: inline-grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-soft), #e8fff9);
}

.icon-box::before {
  content: "";
  width: 1.72rem;
  height: 1.72rem;
  background-image: var(--icon-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.icon-cloud {
  --icon-url: url("../img/icons/cloud.svg");
}

.icon-code,
.icon-dotnet {
  --icon-url: url("../img/icons/code.svg");
}

.icon-communication,
.icon-consultation {
  --icon-url: url("../img/icons/communication.svg");
}

.icon-email {
  --icon-url: url("../img/icons/email.svg");
}

.icon-excellence {
  --icon-url: url("../img/icons/excellence.svg");
}

.icon-global,
.icon-location {
  --icon-url: url("../img/icons/global.svg");
}

.icon-innovation {
  --icon-url: url("../img/icons/innovation.svg");
}

.icon-learning {
  --icon-url: url("../img/icons/learning.svg");
}

.icon-modernize {
  --icon-url: url("../img/icons/modernize.svg");
}

.icon-partnership,
.icon-custom {
  --icon-url: url("../img/icons/partnership.svg");
}

.icon-quality,
.icon-ok {
  --icon-url: url("../img/icons/quality.svg");
}

.icon-response {
  --icon-url: url("../img/icons/response.svg");
}

.icon-support {
  --icon-url: url("../img/icons/support.svg");
}

.icon-team {
  --icon-url: url("../img/icons/team.svg");
}

.icon-trust {
  --icon-url: url("../img/icons/trust.svg");
}

.icon-value {
  --icon-url: url("../img/icons/value.svg");
}

.icon-web {
  --icon-url: url("../img/icons/web.svg");
}

.feature-card h3,
.service-card h3,
.value-card h3,
.contact-card h3 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
}

.feature-card p,
.service-card p,
.value-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.service-strip {
  border-top: 1px solid var(--line);
}

.service-row {
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.service-row + .service-row {
  border-top: 1px solid var(--line);
}

.service-visual {
  min-height: 320px;
  padding: 2rem;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, var(--brand-dark), var(--brand), var(--accent));
  box-shadow: var(--shadow);
}

.service-visual strong {
  display: block;
  margin-top: 1rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.visual-icon {
  display: block;
  width: clamp(4rem, 8vw, 6.5rem);
  height: clamp(4rem, 8vw, 6.5rem);
  margin-top: 1rem;
  background-image: var(--icon-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.12);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tech-card,
.process-step {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tech-card h3,
.process-step h3 {
  margin: 0 0 0.75rem;
  color: var(--brand-dark);
  font-size: 1.05rem;
  font-weight: 800;
}

.process-step {
  position: relative;
}

.step-number {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-weight: 850;
}

.cta-band {
  padding: clamp(3rem, 6vw, 5rem) 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  text-align: center;
}

.cta-band h2 {
  margin: 0 auto 1rem;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 830;
}

.cta-band p {
  max-width: 680px;
  margin: 0 auto 1.6rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-control,
.form-select {
  min-height: 3.1rem;
  border-color: var(--line);
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.24rem rgba(15, 99, 214, 0.16);
}

.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.accordion {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: 8px;
  --bs-accordion-inner-border-radius: 8px;
  --bs-accordion-active-bg: var(--brand-soft);
  --bs-accordion-active-color: var(--brand-dark);
}

.footer {
  padding: 3rem 0 1.2rem;
  color: rgba(255, 255, 255, 0.74);
  background: #101827;
}

.footer h5 {
  color: #fff;
  font-weight: 800;
}

.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.85rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .nav-link {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    padding-inline: 0.75rem;
  }

  .row {
    --bs-gutter-x: 1.5rem;
  }

  .g-5 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }

  .navbar > .container,
  .hero > .container {
    width: 100vw;
    max-width: 100vw;
  }

  .navbar-toggler {
    display: block;
    margin-left: auto;
    border-color: var(--line);
  }

  .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
  }

  .hero {
    padding-top: 3.5rem;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.9rem);
  }

  .hero-content,
  .hero h1,
  .hero p,
  .hero-stats {
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-heading {
    text-align: left;
  }

  .service-visual {
    min-height: 220px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: 11rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .service-card,
  .value-card,
  .contact-card,
  .tech-card,
  .process-step {
    padding: 1.1rem;
  }
}
