:root {
  --bg-dark: #0d1b2a;
  --bg-mid: #1b263b;
  --primary: #1f7ae0;
  --primary-soft: #e8f2ff;
  --text-main: #202937;
  --text-muted: #5f6775;
  --card-shadow: 0 15px 40px rgba(12, 32, 61, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  line-height: 1.65;
}

.section-padding {
  padding: 90px 0;
}

#mainNav {
  background: rgba(9, 19, 36, 0.85);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

#mainNav.scrolled {
  background: rgba(9, 19, 36, 0.96);
  box-shadow: 0 8px 24px rgba(7, 13, 25, 0.28);
}

.navbar-brand {
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1f7ae0, #67b2ff);
  color: #fff;
  font-size: 0.9rem;
}

.brand-text {
  white-space: nowrap;
}

.navbar .nav-link {
  color: #cfd8e3;
  margin-left: 10px;
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.hero-section {
  padding: 150px 0 100px;
  color: #fff;
  background: radial-gradient(circle at 15% 20%, #27466f 0%, #102038 42%, #081220 100%);
}

.hero-tag {
  display: inline-block;
  background: rgba(103, 178, 255, 0.15);
  border: 1px solid rgba(103, 178, 255, 0.35);
  color: #b8dbff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 18px;
}

.hero-section h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero-section h1 span {
  color: #8bc6ff;
}

.hero-section p {
  color: #c8d3e0;
  max-width: 620px;
  margin: 18px 0 28px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -15px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(139, 198, 255, 0.25), rgba(31, 122, 224, 0.08));
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  width: 100%;
  object-fit: cover;
}

.hero-metrics h3 {
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-metrics small {
  color: #b4c1d3;
  font-size: 0.82rem;
}

.section-header {
  max-width: 800px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  color: var(--primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header h2,
.about-section h2,
.contact-section h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.section-header p,
.about-section p,
.contact-section p {
  color: var(--text-muted);
}

.service-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(7, 20, 39, 0.14);
}

.service-card h5 {
  font-size: 1.04rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7edf5;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(7, 20, 39, 0.14);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-body {
  padding: 20px;
}

.product-body h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.product-body p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-section {
  background: linear-gradient(to bottom, #f8fbff 0%, #ffffff 70%);
}

.about-image {
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.about-list {
  margin-top: 18px;
  padding-left: 18px;
}

.about-list li {
  margin-bottom: 8px;
  color: var(--text-main);
}

.contact-section {
  background: #f7f9fc;
}

.contact-card,
.contact-form-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e7edf5;
  box-shadow: var(--card-shadow);
  padding: 26px;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 18px 0 0;
}

.contact-list li {
  margin-bottom: 14px;
  color: var(--text-main);
}

.contact-list a {
  color: var(--primary);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.form-control {
  border-radius: 10px;
  border-color: #dbe3ed;
  padding: 10px 12px;
}

.form-control:focus {
  border-color: #8abdf7;
  box-shadow: 0 0 0 0.2rem rgba(31, 122, 224, 0.15);
}

.form-feedback {
  color: #1f7ae0;
  font-weight: 500;
}

.footer {
  background: var(--bg-dark);
  color: #c2cedd;
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 125px;
  }

  .navbar .nav-link {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero-actions .btn {
    margin-bottom: 10px;
  }

  .product-card img {
    height: 200px;
  }
}
