/* Global theming */
:root {
  --brand-dark: #040a14;
  --brand-darker: #02060b;
  --brand-primary: #2d68ff;
  --brand-secondary: #22b8cf;
  --brand-accent: #ffd166;
  --surface: #0c1728;
  --ink: #0f172a;
  --muted: #6c7a91;
  --card-bg: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 20px 60px rgba(4, 10, 20, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background-color: #f5f7fb;
  margin: 0;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  font-weight: 600;
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  background: rgba(4, 10, 20, 0.95) !important;
  box-shadow: 0 10px 40px rgba(3, 7, 18, 0.45);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-weight: 600;
  color: #f8fafc !important;
  letter-spacing: 0.04em;
}

.navbar-brand span {
  font-size: 0.75rem;
  display: block;
  color: var(--muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  margin-left: 0.25rem;
  color: rgba(248, 250, 252, 0.7) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #cbd5f5;
  margin-left: 0.5rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(45, 104, 255, 0.35), transparent 60%),
    radial-gradient(circle at 20% 20%, rgba(34, 184, 207, 0.4), transparent 45%),
    #050c16;
  color: #ffffff;
  padding: 5rem 0 4rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

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

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--brand-accent);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  max-width: 620px;
}

.hero-cta .btn {
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-cta .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-stats {
  gap: 0.75rem;
  flex-wrap: nowrap !important;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-weight: 500;
  margin-right: 0.75rem;
  margin-top: 0.75rem;
  white-space: nowrap;
}

.hero-media {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2.5rem;
  padding: 1.25rem;
  box-shadow: 0 35px 80px rgba(5, 12, 22, 0.4);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-media img {
  display: block;
  width: 100%;
}

.logo-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(34, 184, 207, 0.12);
  color: var(--brand-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.section {
  padding: 4rem 0;
}

.section-heading {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: var(--brand-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted);
  max-width: 680px;
}

.service-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(4, 10, 20, 0.25);
}

.service-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.service-card__body {
  padding: 1.75rem;
}

.service-card__body p {
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 96px;
}

.btn-soft {
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  border: 1px solid rgba(45, 104, 255, 0.35);
  color: var(--brand-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-gallery .product-card {
  background: var(--card-bg);
  border-radius: 1.2rem;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-gallery .product-card img {
  border-radius: 1rem;
  height: 180px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.product-gallery .product-card h5 {
  margin-bottom: 0.5rem;
}

.badge-soft {
  background: rgba(45, 104, 255, 0.12);
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.iso-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.cta-banner {
  background: linear-gradient(135deg, #2d68ff, #3ab5ff);
  color: #ffffff;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(45, 104, 255, 0.35);
}

.cta-banner .btn-white {
  background: #ffffff;
  color: #0b1220;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
}

.product-hero,
.page-hero {
  background: radial-gradient(circle at top, rgba(45, 104, 255, 0.25), transparent 50%),
    #050c16;
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
}

.product-hero h1,
.page-hero h1 {
  color: #ffffff;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.pill-list li {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 500;
}

.product-grid img {
  border-radius: 1rem;
  height: 210px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.product-grid .card {
  border: none;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.contact-wrapper {
  background: #ffffff;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-card {
  background: rgba(45, 104, 255, 0.08);
  border-radius: 1.2rem;
  padding: 1.5rem;
  height: 100%;
}

.contact-card h5 {
  margin-top: 0.5rem;
}

.contact-form .form-control,
.contact-form textarea {
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.9rem 1.1rem;
}

.contact-form button {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
}

.site-footer {
  background: #02060b;
  color: #cbd5f5;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 1rem;
}

.site-footer h5 {
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: inherit;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  margin-right: 0.5rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

.preview-gallery img {
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.modal-content {
  border-radius: 1.5rem;
  border: none;
  box-shadow: var(--shadow-soft);
}

.modal-header {
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

@media (max-width: 991.98px) {
  .hero {
    text-align: center;
  }

  .hero-stats {
    flex-wrap: wrap !important;
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .stat-pill {
    justify-content: center;
  }

  .hero-media {
    margin-top: 2rem;
  }

  .contact-wrapper {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 3.5rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .stat-pill {
    width: 100%;
  }

  .service-card img {
    height: 180px;
  }

  .cta-banner {
    padding: 2rem 1.5rem;
  }
}
